Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Processes.Tests.Diffusion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 218.8 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1261/0.1261, allocations: 23.89 MB / 336.3 MB, free: 11.14 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 471.2 MB, free: 7.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3259, allocations: 59.87 MB / 0.5186 GB, free: 9.18 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.Diffusion): time 0.07031/0.3962, allocations: 61.61 MB / 0.5788 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03168/0.4279, allocations: 16.92 MB / 0.5953 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01014/0.438, allocations: 183.1 kB / 0.5955 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008288/0.4463, allocations: 2.533 MB / 0.598 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.4589, allocations: 3.568 MB / 0.6015 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008279/0.4671, allocations: 2.871 MB / 0.6043 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0184/0.4855, allocations: 10.78 MB / 0.6148 GB, free: 7.254 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003921/0.4895, allocations: 2.403 MB / 0.6171 GB, free: 4.754 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006174/0.4956, allocations: 4.543 MB / 0.6216 GB, free: 200 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008627/0.5043, allocations: 6.106 MB / 0.6275 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001852/0.5061, allocations: 1.148 MB / 0.6287 GB, free: 8.918 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005912/0.512, allocations: 2.752 MB / 0.6314 GB, free: 6.164 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002793/0.5148, allocations: 3.231 MB / 0.6345 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007231/0.5221, allocations: 6.345 MB / 0.6407 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02256/0.5446, allocations: 16.32 MB / 0.6566 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.5446, allocations: 3.984 kB / 0.6567 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5446, allocations: 0 / 0.6567 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000424/0.545, allocations: 4 kB / 0.6567 GB, free: 12.15 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3564 * Number of variables: 3564 Notification: Performance of Generate backend data structure: time 0.02181/0.5669, allocations: 12.38 MB / 0.6687 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5669, allocations: 12.03 kB / 0.6688 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002124/0.569, allocations: 1.701 MB / 0.6704 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/0.5734, allocations: 2.182 MB / 0.6725 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007071/0.5805, allocations: 4.344 MB / 0.6768 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001195/0.5817, allocations: 1.504 MB / 0.6783 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.5831, allocations: 1.133 MB / 0.6794 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04885/0.632, allocations: 39.4 MB / 0.7178 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001553/0.6321, allocations: 0 / 0.7178 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007838/0.6329, allocations: 471.9 kB / 0.7183 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001896/0.6348, allocations: 1.765 MB / 0.72 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4261/1.061, allocations: 69.48 MB / 0.7879 GB, free: 135.7 MB / 0.5607 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07147/1.132, allocations: 63.96 MB / 0.8503 GB, free: 72.42 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007398/1.14, allocations: 4.739 MB / 0.855 GB, free: 67.66 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003494/1.143, allocations: 2.877 MB / 0.8578 GB, free: 64.78 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.028/1.171, allocations: 17.93 MB / 0.8753 GB, free: 47.05 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/1.171, allocations: 84.22 kB / 0.8754 GB, free: 46.96 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=392): time 5.11e-06/1.171, allocations: 0 / 0.8754 GB, free: 46.96 MB / 0.5607 GB Notification: Performance of matching and sorting (n=485): time 0.08985/1.261, allocations: 34.72 MB / 0.9093 GB, free: 12.71 MB / 0.5607 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of inlineWhenForInitialization (initialization): time 0.001347/1.263, allocations: 1.877 MB / 0.9111 GB, free: 10.72 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00542/1.268, allocations: 5.59 MB / 0.9165 GB, free: 5.207 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009788/1.269, allocations: 108.4 kB / 0.9166 GB, free: 5.098 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003113/1.272, allocations: 6.146 MB / 0.9226 GB, free: 15.02 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002296/1.274, allocations: 1.751 MB / 0.9244 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002654/1.277, allocations: 1.822 MB / 0.9261 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.277, allocations: 301.1 kB / 0.9264 GB, free: 11.13 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004849/1.282, allocations: 2.688 MB / 0.9291 GB, free: 8.441 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00711/1.289, allocations: 5.359 MB / 0.9343 GB, free: 1.914 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/1.303, allocations: 8.914 MB / 0.943 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.982e-05/1.303, allocations: 24 kB / 0.943 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02923/1.332, allocations: 10.92 MB / 0.9537 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.78e-05/1.332, allocations: 44 kB / 0.9537 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.624e-05/1.332, allocations: 88 kB / 0.9538 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006551/1.339, allocations: 2.082 MB / 0.9558 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01385/1.353, allocations: 2.637 MB / 0.9584 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2319/1.585, allocations: 28.85 MB / 0.9866 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005619/1.59, allocations: 273.1 kB / 0.9868 GB, free: 174.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/1.592, allocations: 1.07 MB / 0.9879 GB, free: 174.9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 406 * Number of states: 0 () * Number of discrete variables: 12 (s5.substanceDefinitionVar.SelfClustering,s5.substanceDefinitionVar.data.phase,solvent.substanceDefinitionVar.SelfClustering,solvent.substanceDefinitionVar.data.phase,s4.substanceDefinitionVar.SelfClustering,s4.substanceDefinitionVar.data.phase,s3.substanceDefinitionVar.SelfClustering,s3.substanceDefinitionVar.data.phase,s1.substanceDefinitionVar.SelfClustering,s1.substanceDefinitionVar.data.phase,s2.substanceDefinitionVar.SelfClustering,s2.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (838): * Single equations (assignments): 818 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 14 systems {(2,2,100.0%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (2,1,100.0%), (2,2,100.0%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,6), (2,2), (1,2), (2,1), (1,6), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.008013/1.6, allocations: 2.799 MB / 0.9906 GB, free: 174 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001879/1.602, allocations: 0.6953 MB / 0.9913 GB, free: 174 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03195/1.634, allocations: 11.3 MB / 1.002 GB, free: 170.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.422e-05/1.634, allocations: 45.75 kB / 1.002 GB, free: 170.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.083e-05/1.634, allocations: 13.06 kB / 1.002 GB, free: 170.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-05/1.634, allocations: 23.45 kB / 1.002 GB, free: 170.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04501/1.679, allocations: 22.91 MB / 1.025 GB, free: 159.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/1.679, allocations: 14.12 kB / 1.025 GB, free: 159.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008945/1.688, allocations: 1.352 MB / 1.026 GB, free: 159.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005559/1.694, allocations: 2.001 MB / 1.028 GB, free: 159.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005921/1.694, allocations: 176.3 kB / 1.028 GB, free: 159.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02702/1.721, allocations: 30.62 MB / 1.058 GB, free: 131.7 MB / 0.6075 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001292/1.723, allocations: 1.646 MB / 1.06 GB, free: 130.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02322/1.746, allocations: 10.11 MB / 1.07 GB, free: 124.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/1.747, allocations: 0.6416 MB / 1.07 GB, free: 123.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009686/1.748, allocations: 123.8 kB / 1.07 GB, free: 123.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00287/1.751, allocations: 136.5 kB / 1.07 GB, free: 123.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007172/1.752, allocations: 442.9 kB / 1.071 GB, free: 123.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003141/1.752, allocations: 251.8 kB / 1.071 GB, free: 123 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004326/1.757, allocations: 4.107 MB / 1.075 GB, free: 118.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/1.757, allocations: 0 / 1.075 GB, free: 118.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007064/1.764, allocations: 2.1 MB / 1.077 GB, free: 116.8 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 19 (s2.logm,p2.logm,d2.rear.n_flow,s1.logm,p1.logm,d1.rear.n_flow,$STATESET3.x,s3.logm,p3.logm,d3.rear.n_flow,$STATESET2.x,s4.logm,p4.logm,d4.rear.n_flow,solvent.logm,$STATESET1.x,s5.logm,p5.logm,d5.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (433): * Single equations (assignments): 413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 14 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (2,2,100.0%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (2,1,100.0%), (2,2,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,5), (3,4), (1,2), (3,3), (1,5), (3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02314/1.787, allocations: 11.11 MB / 1.088 GB, free: 105.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0145/1.801, allocations: 8.469 MB / 1.096 GB, free: 96.87 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.809e-05/1.801, allocations: 4 kB / 1.096 GB, free: 96.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.009349/1.811, allocations: 4.84 MB / 1.101 GB, free: 91.81 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006099/1.817, allocations: 1.591 MB / 1.103 GB, free: 90.29 MB / 0.6075 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.094099476002157] Failed to read output from testmodel.py, exit status != 0: 1.8241550120001193 1.833234453 1.286407883 Calling exit ...