Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004192/0.004197, allocations: 371.5 kB / 15.97 MB, free: 6.199 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.893/3.893, allocations: 388.9 MB / 405.6 MB, free: 9.57 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.007303/0.007303, allocations: 240.1 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.6156/0.6156, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007177/0.000718, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1219, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.04921/0.1712, allocations: 38.96 MB / 0.7182 GB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3451/0.5164, allocations: 18.63 MB / 0.7363 GB, free: 14.03 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.518, allocations: 31.72 kB / 0.7364 GB, free: 14.03 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.5198, allocations: 389.9 kB / 0.7368 GB, free: 13.95 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.01857/0.5384, allocations: 4.103 MB / 0.7408 GB, free: 13.26 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01418/0.5527, allocations: 2.925 MB / 0.7436 GB, free: 12.88 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003358/0.556, allocations: 1.836 MB / 0.7454 GB, free: 12.53 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.5571, allocations: 372.8 kB / 0.7458 GB, free: 12.47 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.5591, allocations: 0.6312 MB / 0.7464 GB, free: 12.33 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01671/0.5759, allocations: 6.787 MB / 0.753 GB, free: 11.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002868/0.5762, allocations: 30.94 kB / 0.753 GB, free: 11.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02087/0.5971, allocations: 7.308 MB / 0.7602 GB, free: 6.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003503/0.5975, allocations: 154.5 kB / 0.7603 GB, free: 6.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.5979, allocations: 177.3 kB / 0.7605 GB, free: 5.906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008147/0.6061, allocations: 3.57 MB / 0.764 GB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.6061, allocations: 0 / 0.764 GB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6061, allocations: 0 / 0.764 GB, free: 2.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.6062, allocations: 0 / 0.764 GB, free: 2.566 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.005249/0.6114, allocations: 1.538 MB / 0.7655 GB, free: 1.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.6115, allocations: 8.031 kB / 0.7655 GB, free: 1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/0.6147, allocations: 312.4 kB / 0.7658 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.6159, allocations: 0.5219 MB / 0.7663 GB, free: 156 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.616, allocations: 47.2 kB / 0.7663 GB, free: 112 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.6161, allocations: 63.89 kB / 0.7664 GB, free: 48 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/0.6201, allocations: 0.9871 MB / 0.7674 GB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.6202, allocations: 0 / 0.7674 GB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.6203, allocations: 32 kB / 0.7674 GB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.147e-05/0.6204, allocations: 21.31 kB / 0.7674 GB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004365/0.6248, allocations: 0.9221 MB / 0.7683 GB, free: 14.04 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.007391/0.6322, allocations: 4.35 MB / 0.7726 GB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/0.636, allocations: 0.7499 MB / 0.7733 GB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.6371, allocations: 282 kB / 0.7736 GB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3228/0.96, allocations: 80.08 MB / 0.8518 GB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.9601, allocations: 39 kB / 0.8518 GB, free: 15.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 2.875e-06/0.9601, allocations: 0 / 0.8518 GB, free: 15.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.01083/0.9709, allocations: 2.305 MB / 0.854 GB, free: 13.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.971, allocations: 111.2 kB / 0.8542 GB, free: 13.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008731/0.9719, allocations: 486.7 kB / 0.8546 GB, free: 12.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.952e-05/0.972, allocations: 33.7 kB / 0.8547 GB, free: 12.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.9723, allocations: 339 kB / 0.855 GB, free: 12.56 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.9726, allocations: 177.3 kB / 0.8551 GB, free: 12.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.9727, allocations: 16 kB / 0.8552 GB, free: 12.37 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.9729, allocations: 370.7 kB / 0.8555 GB, free: 12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.974, allocations: 257.2 kB / 0.8558 GB, free: 11.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.9753, allocations: 471.7 kB / 0.8562 GB, free: 11.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.9766, allocations: 315.6 kB / 0.8565 GB, free: 10.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.9766, allocations: 4 kB / 0.8565 GB, free: 10.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003953/0.9805, allocations: 0.9755 MB / 0.8575 GB, free: 9.914 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002503/0.9808, allocations: 269.6 kB / 0.8577 GB, free: 9.562 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.9809, allocations: 8 kB / 0.8577 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004097/0.985, allocations: 476.2 kB / 0.8582 GB, free: 9.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.986, allocations: 135.8 kB / 0.8583 GB, free: 8.953 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.9889, allocations: 0.9373 MB / 0.8592 GB, free: 7.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.9906, allocations: 95.83 kB / 0.8593 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.9908, allocations: 31.98 kB / 0.8594 GB, free: 7.867 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.9908, allocations: 4 kB / 0.8594 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005685/0.9965, allocations: 0.927 MB / 0.8603 GB, free: 6.934 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.9966, allocations: 8 kB / 0.8603 GB, free: 6.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003433/1, allocations: 323.5 kB / 0.8606 GB, free: 6.609 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/1.002, allocations: 155.8 kB / 0.8607 GB, free: 6.457 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/1.004, allocations: 0.8685 MB / 0.8616 GB, free: 5.562 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/1.006, allocations: 83.91 kB / 0.8617 GB, free: 5.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/1.006, allocations: 31.98 kB / 0.8617 GB, free: 5.449 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007472/1.007, allocations: 298.2 kB / 0.862 GB, free: 5.148 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/1.007, allocations: 63.25 kB / 0.862 GB, free: 5.086 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008294/1.015, allocations: 2.74 MB / 0.8647 GB, free: 2.355 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/1.016, allocations: 7.984 kB / 0.8647 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.016, allocations: 0 / 0.8647 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000943/1.017, allocations: 338.8 kB / 0.865 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/1.017, allocations: 8 kB / 0.865 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.018, allocations: 99.7 kB / 0.8651 GB, free: 1.891 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/1.019, allocations: 52.44 kB / 0.8652 GB, free: 1.84 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005982/1.025, allocations: 1.549 MB / 0.8667 GB, free: 296 kB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007108/1.032, allocations: 2.211 MB / 0.8689 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002192/1.034, allocations: 0.6735 MB / 0.8695 GB, free: 13.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001346/1.035, allocations: 455 kB / 0.87 GB, free: 12.95 MB / 474.7 MB Notification: Performance of Backend: time 8.81e-07/1.035, allocations: 0 / 0.87 GB, free: 12.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01835/1.054, allocations: 2.518 MB / 0.8724 GB, free: 10.59 MB / 474.7 MB Notification: Performance of SimCode: time 0.007577/1.061, allocations: 2.778 MB / 0.8751 GB, free: 7.766 MB / 474.7 MB Notification: Performance of Templates: time 0.6165/1.678, allocations: 53.68 MB / 0.9275 GB, free: 151.1 MB / 490.7 MB