Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00391/0.003916, allocations: 344.3 kB / 15.94 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.546/3.546, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00349/0.00349, allocations: 225.1 kB / 397.9 MB, free: 4.988 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5662/0.5662, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007086/0.000709, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1238, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase): time 1.021/1.145, allocations: 232.6 MB / 0.8339 GB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1482/1.293, allocations: 78.07 MB / 0.9102 GB, free: 10.36 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01111/1.304, allocations: 281.8 kB / 0.9104 GB, free: 10.08 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01322/1.318, allocations: 2.793 MB / 0.9132 GB, free: 7.273 MB / 458.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.1+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.1+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.05715/1.375, allocations: 13.63 MB / 0.9265 GB, free: 9.605 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.07064/1.445, allocations: 17.25 MB / 0.9433 GB, free: 8.438 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.4927/1.938, allocations: 27.63 MB / 0.9703 GB, free: 12.34 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01331/1.951, allocations: 4.918 MB / 0.9751 GB, free: 12.06 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02228/1.974, allocations: 7.367 MB / 0.9823 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1683/2.142, allocations: 70.28 MB / 1.051 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.004284/2.147, allocations: 432 kB / 1.051 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04448/2.191, allocations: 12.01 MB / 1.063 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.009017/2.2, allocations: 3.194 MB / 1.066 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.007097/2.207, allocations: 1.755 MB / 1.068 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.03691/2.244, allocations: 14.79 MB / 1.082 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/2.244, allocations: 1.688 kB / 1.082 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.246e-06/2.244, allocations: 0 / 1.082 GB, free: 9.418 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004986/2.245, allocations: 0 / 1.082 GB, free: 9.418 MB / 0.5417 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.05444/2.299, allocations: 10.13 MB / 1.092 GB, free: 72 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/2.299, allocations: 12.58 kB / 1.092 GB, free: 60 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01724/2.317, allocations: 1.805 MB / 1.094 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06329/2.38, allocations: 22.89 MB / 1.116 GB, free: 14.85 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/2.381, allocations: 0.5378 MB / 1.117 GB, free: 14.55 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003685/2.385, allocations: 0.7041 MB / 1.118 GB, free: 14.07 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04541/2.43, allocations: 12.62 MB / 1.13 GB, free: 4.426 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005656/2.431, allocations: 41.47 kB / 1.13 GB, free: 4.406 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003192/2.434, allocations: 303.6 kB / 1.13 GB, free: 4.332 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001826/2.436, allocations: 0.7507 MB / 1.131 GB, free: 3.664 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04499/2.481, allocations: 12.53 MB / 1.143 GB, free: 11.09 MB / 0.5886 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.6881/3.169, allocations: 51.99 MB / 1.194 GB, free: 278.2 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02267/3.192, allocations: 7.479 MB / 1.201 GB, free: 278.1 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01223/3.204, allocations: 4.354 MB / 1.206 GB, free: 276.9 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3398/3.544, allocations: 99.11 MB / 1.302 GB, free: 194.9 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/3.544, allocations: 103.1 kB / 1.302 GB, free: 194.8 MB / 0.6043 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006773/3.551, allocations: 0.7149 MB / 1.303 GB, free: 194.4 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=583): time 2.428e-05/3.551, allocations: 0 / 1.303 GB, free: 194.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=705): time 0.3483/3.899, allocations: 50.54 MB / 1.352 GB, free: 144.4 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/3.899, allocations: 188 kB / 1.353 GB, free: 144.2 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009602/3.909, allocations: 4.817 MB / 1.357 GB, free: 139.4 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001871/3.911, allocations: 153.7 kB / 1.358 GB, free: 139.2 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003067/3.914, allocations: 3.353 MB / 1.361 GB, free: 135.9 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003459/3.918, allocations: 2.44 MB / 1.363 GB, free: 133.5 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/3.919, allocations: 164 kB / 1.363 GB, free: 133.3 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0005717/3.92, allocations: 0.629 MB / 1.364 GB, free: 132.7 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01209/3.932, allocations: 4.443 MB / 1.368 GB, free: 128.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01397/3.946, allocations: 6.437 MB / 1.375 GB, free: 121 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5757/4.521, allocations: 43.91 MB / 1.417 GB, free: 77.06 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.928e-05/4.522, allocations: 16 kB / 1.417 GB, free: 77.04 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1036) (initialization): time 0.04742/4.569, allocations: 15.39 MB / 1.433 GB, free: 61.73 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.001201/4.57, allocations: 1.709 MB / 1.434 GB, free: 59.27 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/4.57, allocations: 52 kB / 1.434 GB, free: 59.21 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2174/4.788, allocations: 18.62 MB / 1.452 GB, free: 40.55 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009585/4.798, allocations: 1.083 MB / 1.453 GB, free: 39.47 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05215/4.85, allocations: 15.06 MB / 1.468 GB, free: 24.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0148/4.865, allocations: 0.8657 MB / 1.469 GB, free: 23.45 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002486/4.867, allocations: 398.7 kB / 1.469 GB, free: 23.07 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/4.867, allocations: 4 kB / 1.469 GB, free: 23.06 MB / 0.6043 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04201/4.909, allocations: 14.37 MB / 1.483 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/4.909, allocations: 54.66 kB / 1.484 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5192/5.429, allocations: 17.37 MB / 1.5 GB, free: 287.9 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007816/5.437, allocations: 1.107 MB / 1.502 GB, free: 287.9 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03844/5.475, allocations: 14.14 MB / 1.515 GB, free: 285.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/5.488, allocations: 0.8665 MB / 1.516 GB, free: 285.2 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002463/5.491, allocations: 384.5 kB / 1.517 GB, free: 285.1 MB / 0.6043 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.00848/5.5, allocations: 2.289 MB / 1.519 GB, free: 284.1 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00271/5.502, allocations: 0.6616 MB / 1.519 GB, free: 284.1 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06195/5.564, allocations: 26.86 MB / 1.546 GB, free: 273 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04788/5.612, allocations: 23.29 MB / 1.568 GB, free: 255.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.366e-05/5.612, allocations: 0 / 1.568 GB, free: 255.8 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006696/5.619, allocations: 1.965 MB / 1.57 GB, free: 254.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003635/5.623, allocations: 191.9 kB / 1.571 GB, free: 254 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01005/5.633, allocations: 0.5514 MB / 1.571 GB, free: 253.5 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00202/5.635, allocations: 441.6 kB / 1.571 GB, free: 253 MB / 0.6043 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06154/5.696, allocations: 19.96 MB / 1.591 GB, free: 233.3 MB / 0.6043 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05716/5.754, allocations: 25.01 MB / 1.615 GB, free: 208.2 MB / 0.6043 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01534/5.769, allocations: 8.05 MB / 1.623 GB, free: 200.1 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.007259/5.776, allocations: 3.138 MB / 1.626 GB, free: 197 MB / 0.6043 GB Notification: Performance of Backend: time 6.82e-07/5.776, allocations: 4.281 kB / 1.626 GB, free: 197 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.06337/5.84, allocations: 17.35 MB / 1.643 GB, free: 180.7 MB / 0.6043 GB Notification: Performance of SimCode: time 0.05175/5.892, allocations: 24.14 MB / 1.667 GB, free: 156.9 MB / 0.6043 GB Notification: Performance of Templates: time 0.8901/6.782, allocations: 251.9 MB / 1.913 GB, free: 163.3 MB / 0.6043 GB