Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004043/0.004049, allocations: 366 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 4.368/4.368, allocations: 388.9 MB / 405.6 MB, free: 9.621 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.005614/0.005614, allocations: 230.3 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.5529/0.5529, allocations: 80.03 MB / 0.5627 GB, free: 19.74 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004552, allocations: 12 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.09834, allocations: 54.88 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.04668/0.1451, allocations: 38.96 MB / 0.7182 GB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3683/0.5134, allocations: 18.63 MB / 0.7363 GB, free: 14.05 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.5149, allocations: 31.31 kB / 0.7364 GB, free: 14.05 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.5168, allocations: 393 kB / 0.7368 GB, free: 13.98 MB / 346.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.01901/0.5359, allocations: 4.094 MB / 0.7407 GB, free: 13.29 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01399/0.5499, allocations: 2.932 MB / 0.7436 GB, free: 12.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003616/0.5535, allocations: 1.822 MB / 0.7454 GB, free: 12.57 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.5547, allocations: 369.5 kB / 0.7457 GB, free: 12.51 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.5568, allocations: 0.6257 MB / 0.7464 GB, free: 12.37 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01716/0.574, allocations: 6.526 MB / 0.7527 GB, free: 11.36 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002885/0.5744, allocations: 33.92 kB / 0.7528 GB, free: 11.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02848/0.6029, allocations: 7.309 MB / 0.7599 GB, free: 6.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004671/0.6034, allocations: 149 kB / 0.76 GB, free: 6.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.6039, allocations: 181.3 kB / 0.7602 GB, free: 6.156 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.6152, allocations: 3.564 MB / 0.7637 GB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.6153, allocations: 0 / 0.7637 GB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6153, allocations: 0 / 0.7637 GB, free: 2.824 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.6153, allocations: 0 / 0.7637 GB, free: 2.824 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006943/0.6223, allocations: 1.531 MB / 0.7652 GB, free: 1.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.6223, allocations: 11.97 kB / 0.7652 GB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004861/0.6272, allocations: 315.5 kB / 0.7655 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.6289, allocations: 0.5218 MB / 0.766 GB, free: 420 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-05/0.629, allocations: 53.31 kB / 0.7661 GB, free: 368 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.6293, allocations: 57.72 kB / 0.7661 GB, free: 312 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005515/0.6348, allocations: 0.9906 MB / 0.7671 GB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.6349, allocations: 7.938 kB / 0.7671 GB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.635, allocations: 24 kB / 0.7671 GB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.591e-05/0.6351, allocations: 21 kB / 0.7671 GB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00591/0.6411, allocations: 0.9131 MB / 0.768 GB, free: 14.31 MB / 362.7 MB 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.01022/0.6513, allocations: 4.481 MB / 0.7724 GB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005432/0.6568, allocations: 0.7878 MB / 0.7732 GB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.6585, allocations: 313.9 kB / 0.7735 GB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3347/0.9932, allocations: 83.93 MB / 0.8554 GB, free: 11.26 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/0.9933, allocations: 42.98 kB / 0.8555 GB, free: 11.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 3.527e-06/0.9933, allocations: 0 / 0.8555 GB, free: 11.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.01105/1.004, allocations: 2.279 MB / 0.8577 GB, free: 8.879 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/1.005, allocations: 107.2 kB / 0.8578 GB, free: 8.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009223/1.005, allocations: 498.6 kB / 0.8583 GB, free: 8.254 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/1.006, allocations: 29.7 kB / 0.8583 GB, free: 8.219 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/1.006, allocations: 331.9 kB / 0.8586 GB, free: 7.891 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/1.006, allocations: 184.4 kB / 0.8588 GB, free: 7.715 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/1.006, allocations: 16 kB / 0.8588 GB, free: 7.699 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/1.006, allocations: 366.8 kB / 0.8592 GB, free: 7.332 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/1.008, allocations: 277.1 kB / 0.8594 GB, free: 7.062 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/1.009, allocations: 474 kB / 0.8599 GB, free: 6.523 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/1.01, allocations: 326 kB / 0.8602 GB, free: 6.207 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.01, allocations: 7.938 kB / 0.8602 GB, free: 6.199 MB / 458.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004515/1.015, allocations: 1.026 MB / 0.8612 GB, free: 5.164 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002331/1.015, allocations: 253.3 kB / 0.8614 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/1.015, allocations: 11.98 kB / 0.8615 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003955/1.019, allocations: 448.4 kB / 0.8619 GB, free: 4.383 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.02, allocations: 151.7 kB / 0.862 GB, free: 4.234 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/1.023, allocations: 0.9191 MB / 0.8629 GB, free: 3.289 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.024, allocations: 99.39 kB / 0.863 GB, free: 3.195 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.024, allocations: 35.98 kB / 0.8631 GB, free: 3.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.024, allocations: 8 kB / 0.8631 GB, free: 3.152 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004372/1.028, allocations: 0.9506 MB / 0.864 GB, free: 2.199 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/1.028, allocations: 4 kB / 0.864 GB, free: 2.195 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/1.031, allocations: 333.5 kB / 0.8643 GB, free: 1.867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/1.032, allocations: 139.8 kB / 0.8644 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/1.034, allocations: 0.8834 MB / 0.8653 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/1.035, allocations: 83.98 kB / 0.8654 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.035, allocations: 31.98 kB / 0.8654 GB, free: 0.7109 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005777/1.036, allocations: 288.9 kB / 0.8657 GB, free: 428 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/1.036, allocations: 63.25 kB / 0.8658 GB, free: 364 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006572/1.043, allocations: 2.928 MB / 0.8686 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/1.043, allocations: 3.984 kB / 0.8686 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.043, allocations: 0 / 0.8686 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007181/1.043, allocations: 314.9 kB / 0.8689 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/1.044, allocations: 12 kB / 0.8689 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/1.045, allocations: 95.77 kB / 0.869 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/1.045, allocations: 64.42 kB / 0.8691 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004854/1.05, allocations: 1.757 MB / 0.8708 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005934/1.056, allocations: 2.537 MB / 0.8733 GB, free: 8.629 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001855/1.058, allocations: 0.7906 MB / 0.874 GB, free: 7.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008046/1.059, allocations: 399 kB / 0.8744 GB, free: 7.453 MB / 474.7 MB Notification: Performance of Backend: time 1.352e-06/1.059, allocations: 0 / 0.8744 GB, free: 7.453 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0148/1.073, allocations: 2.544 MB / 0.8769 GB, free: 5.059 MB / 474.7 MB Notification: Performance of SimCode: time 0.005913/1.079, allocations: 2.736 MB / 0.8796 GB, free: 2.27 MB / 474.7 MB Notification: Performance of Templates: time 0.4324/1.512, allocations: 53.84 MB / 0.9322 GB, free: 163 MB / 490.7 MB