Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe1.mediums.2..p|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.mediums.2..T|pipe11.mediums.2..p|pipe2.mediums.1..T|pipe2.mediums.2..T|pipe2.mediums.2..p|pipe3.mediums.1..T|pipe3.mediums.2..T|pipe3.mediums.2..p|pipe4.mediums.1..T|pipe4.mediums.1..p|pipe4.mediums.2..T|pipe4.mediums.2..p|pipe5.mediums.1..T|pipe5.mediums.2..T|pipe6.mediums.1..T|pipe6.mediums.2..T|pipe6.mediums.2..p|pipe7.mediums.1..T|pipe7.mediums.1..p|pipe7.mediums.2..T|pipe7.mediums.2..p|pipe8.mediums.1..T|pipe8.mediums.2..T|pipe9.mediums.1..T|pipe9.mediums.2..T",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00595/0.005949, allocations: 369 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.98/3.98, allocations: 388.9 MB / 405.6 MB, free: 9.676 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003623/0.003622, allocations: 223.9 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5296/0.5296, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006804/0.0006808, allocations: 15.97 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.101, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase): time 1.094/1.195, allocations: 234.3 MB / 0.9089 GB, free: 12.09 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.1363/1.331, allocations: 78.5 MB / 0.9856 GB, free: 10.38 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01077/1.342, allocations: 283.8 kB / 0.9858 GB, free: 10.38 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01268/1.355, allocations: 2.785 MB / 0.9886 GB, free: 8.535 MB / 474.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.05655/1.411, allocations: 13.82 MB / 1.002 GB, free: 116 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.07143/1.483, allocations: 17.37 MB / 1.019 GB, free: 3.328 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.04671/1.53, allocations: 27.79 MB / 1.046 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/1.542, allocations: 4.954 MB / 1.051 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02132/1.563, allocations: 7.414 MB / 1.058 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7085/2.272, allocations: 70.72 MB / 1.127 GB, free: 47.82 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.004339/2.276, allocations: 426.1 kB / 1.128 GB, free: 47.82 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04164/2.318, allocations: 12.3 MB / 1.14 GB, free: 47.8 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.007829/2.326, allocations: 3.191 MB / 1.143 GB, free: 47.8 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.005703/2.332, allocations: 1.764 MB / 1.145 GB, free: 47.77 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.03243/2.364, allocations: 14.91 MB / 1.159 GB, free: 46 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/2.364, allocations: 0 / 1.159 GB, free: 46 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.756e-06/2.364, allocations: 0 / 1.159 GB, free: 46 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0005233/2.365, allocations: 0 / 1.159 GB, free: 46 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1894 * Number of variables: 1894 Notification: Performance of Generate backend data structure: time 0.06227/2.427, allocations: 10.3 MB / 1.169 GB, free: 37.91 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 7.007e-05/2.427, allocations: 12.56 kB / 1.169 GB, free: 37.89 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02064/2.448, allocations: 1.857 MB / 1.171 GB, free: 36.43 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06164/2.509, allocations: 23.35 MB / 1.194 GB, free: 22.56 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001231/2.511, allocations: 0.5372 MB / 1.194 GB, free: 22.25 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005203/2.516, allocations: 0.7093 MB / 1.195 GB, free: 21.78 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04632/2.562, allocations: 12.61 MB / 1.207 GB, free: 12.14 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005403/2.563, allocations: 47.58 kB / 1.207 GB, free: 12.11 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003507/2.566, allocations: 302 kB / 1.208 GB, free: 12.04 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001618/2.568, allocations: 0.7522 MB / 1.208 GB, free: 11.37 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04232/2.61, allocations: 12.53 MB / 1.221 GB, free: 2.805 MB / 0.5574 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: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(pipe1.mediums[1].p) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1109/2.721, allocations: 51.99 MB / 1.271 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02425/2.746, allocations: 7.471 MB / 1.279 GB, free: 14.83 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01282/2.759, allocations: 4.367 MB / 1.283 GB, free: 12.01 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031/3.789, allocations: 99.23 MB / 1.38 GB, free: 305.1 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/3.79, allocations: 100.5 kB / 1.38 GB, free: 305 MB / 0.6668 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006981/3.797, allocations: 0.7151 MB / 1.381 GB, free: 305 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=583): time 4.682e-05/3.797, allocations: 0 / 1.381 GB, free: 305 MB / 0.6668 GB Notification: Performance of matching and sorting (n=705): time 0.306/4.103, allocations: 50.56 MB / 1.43 GB, free: 275.7 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/4.103, allocations: 180.3 kB / 1.43 GB, free: 275.5 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/4.114, allocations: 4.82 MB / 1.435 GB, free: 270.7 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001984/4.116, allocations: 157.7 kB / 1.435 GB, free: 270.6 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.003384/4.119, allocations: 3.351 MB / 1.438 GB, free: 267.2 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.003815/4.123, allocations: 2.44 MB / 1.441 GB, free: 264.8 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/4.125, allocations: 164 kB / 1.441 GB, free: 264.7 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 0.0006634/4.126, allocations: 0.6291 MB / 1.442 GB, free: 264 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01264/4.138, allocations: 4.443 MB / 1.446 GB, free: 259.6 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01477/4.153, allocations: 6.435 MB / 1.452 GB, free: 252.4 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5518/4.705, allocations: 43.92 MB / 1.495 GB, free: 208.3 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.301e-05/4.705, allocations: 18.36 kB / 1.495 GB, free: 208.3 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1036) (initialization): time 0.04618/4.751, allocations: 15.39 MB / 1.51 GB, free: 192.9 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 0.000922/4.752, allocations: 1.705 MB / 1.512 GB, free: 190.4 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.322e-05/4.752, allocations: 59.94 kB / 1.512 GB, free: 190.3 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.21/4.963, allocations: 18.62 MB / 1.53 GB, free: 171.7 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007245/4.97, allocations: 1.076 MB / 1.531 GB, free: 170.6 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03683/5.007, allocations: 15.07 MB / 1.546 GB, free: 155.4 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01417/5.021, allocations: 0.8657 MB / 1.547 GB, free: 154.6 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002415/5.023, allocations: 399.9 kB / 1.547 GB, free: 154.2 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/5.023, allocations: 4 kB / 1.547 GB, free: 154.2 MB / 0.6668 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04035/5.064, allocations: 14.37 MB / 1.561 GB, free: 139.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/5.064, allocations: 59.94 kB / 1.561 GB, free: 139.7 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1988/5.263, allocations: 17.37 MB / 1.578 GB, free: 122.3 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008432/5.271, allocations: 1.108 MB / 1.579 GB, free: 121.2 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03546/5.307, allocations: 14.14 MB / 1.593 GB, free: 107 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0139/5.321, allocations: 0.8656 MB / 1.594 GB, free: 106.1 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002675/5.323, allocations: 387.9 kB / 1.594 GB, free: 105.7 MB / 0.6668 GB Warning: The initial conditions are over specified. The following 12 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe2.mediums[1].p = 0.0 $DER.pipe1.mediums[2].p = 0.0 $DER.pipe8.mediums[1].p = 0.0 $DER.pipe7.mediums[2].p = 0.0 $DER.pipe4.mediums[2].p = 0.0 $DER.pipe8.mediums[2].p = 0.0 $DER.pipe6.mediums[1].p = 0.0 $DER.pipe10.mediums[1].p = 0.0 $DER.pipe9.mediums[2].p = 0.0 $DER.pipe6.mediums[2].p = 0.0 $DER.pipe5.mediums[2].p = 0.0 $DER.pipe10.mediums[2].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 52 (valve3.state_b.phase,valve3.state_a.phase,valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,pipe11.mediums[2].phase,pipe11.mediums[1].phase,pipe5.mediums[2].phase,pipe5.mediums[1].phase,pipe10.mediums[2].phase,pipe10.mediums[1].phase,pipe9.mediums[2].phase,pipe9.mediums[1].phase,pipe8.mediums[2].phase,pipe8.mediums[1].phase,pipe7.mediums[2].phase,pipe7.mediums[1].phase,pipe6.mediums[2].phase,pipe6.mediums[1].phase,pipe4.mediums[2].phase,pipe4.mediums[1].phase,pipe3.mediums[2].phase,pipe3.mediums[1].phase,pipe2.mediums[2].phase,pipe2.mediums[1].phase,pipe1.mediums[2].phase,pipe1.mediums[1].phase,pipe11.state_b.phase,pipe11.state_a.phase,pipe5.state_b.phase,pipe5.state_a.phase,pipe10.state_b.phase,pipe10.state_a.phase,pipe9.state_b.phase,pipe9.state_a.phase,pipe8.state_b.phase,pipe8.state_a.phase,sink.medium.phase,pipe7.state_b.phase,pipe7.state_a.phase,pipe6.state_b.phase,pipe6.state_a.phase,pipe4.state_b.phase,pipe4.state_a.phase,pipe3.state_b.phase,pipe3.state_a.phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (617): * Single equations (assignments): 615 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,30 380} Notification: Performance of prepare postOptimizeDAE: time 0.009963/5.334, allocations: 2.278 MB / 1.596 GB, free: 103.4 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003394/5.337, allocations: 0.6638 MB / 1.597 GB, free: 102.7 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06857/5.406, allocations: 26.85 MB / 1.623 GB, free: 75.77 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05878/5.464, allocations: 23.29 MB / 1.646 GB, free: 52.31 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.699e-05/5.465, allocations: 0 / 1.646 GB, free: 52.31 MB / 0.6668 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007033/5.472, allocations: 1.967 MB / 1.648 GB, free: 50.31 MB / 0.6668 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003737/5.475, allocations: 191.9 kB / 1.648 GB, free: 50.12 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009878/5.485, allocations: 0.5612 MB / 1.649 GB, free: 49.56 MB / 0.6668 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002129/5.487, allocations: 437.6 kB / 1.649 GB, free: 49.13 MB / 0.6668 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06209/5.55, allocations: 19.96 MB / 1.669 GB, free: 29.24 MB / 0.6668 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.475/6.025, allocations: 25.01 MB / 1.693 GB, free: 312.9 MB / 0.6668 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0178/6.043, allocations: 8.049 MB / 1.701 GB, free: 309.4 MB / 0.6668 GB Notification: Performance of sorting global known variables: time 0.009073/6.052, allocations: 3.135 MB / 1.704 GB, free: 308.3 MB / 0.6668 GB Notification: Performance of Backend: time 6.62e-07/6.052, allocations: 0 / 1.704 GB, free: 308.3 MB / 0.6668 GB Notification: Performance of simCode: created initialization part: time 0.06861/6.12, allocations: 17.41 MB / 1.721 GB, free: 303.5 MB / 0.6668 GB Notification: Performance of SimCode: time 0.05615/6.177, allocations: 24.14 MB / 1.744 GB, free: 292 MB / 0.6668 GB Notification: Performance of Templates: time 0.9529/7.129, allocations: 252.8 MB / 1.991 GB, free: 320.2 MB / 0.6668 GB