Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00275/0.002755, allocations: 371.8 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.917/3.917, allocations: 388.9 MB / 405.6 MB, free: 9.668 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.01077/0.01077, allocations: 222.5 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.5456/0.5456, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006277/0.0006279, allocations: 19.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1168, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.04904/0.1659, allocations: 38.96 MB / 0.7182 GB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3446/0.5105, allocations: 18.63 MB / 0.7363 GB, free: 14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.5121, allocations: 29.5 kB / 0.7364 GB, free: 14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.5139, allocations: 391.6 kB / 0.7367 GB, free: 13.93 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.01867/0.5326, allocations: 4.099 MB / 0.7407 GB, free: 13.24 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01374/0.5464, allocations: 2.939 MB / 0.7436 GB, free: 12.86 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003596/0.55, allocations: 1.821 MB / 0.7454 GB, free: 12.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.5511, allocations: 370.9 kB / 0.7458 GB, free: 12.46 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.5531, allocations: 0.6287 MB / 0.7464 GB, free: 12.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01704/0.5702, allocations: 6.536 MB / 0.7527 GB, free: 11.38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003748/0.5706, allocations: 29.94 kB / 0.7528 GB, free: 11.38 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02242/0.593, allocations: 7.385 MB / 0.76 GB, free: 6.445 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000405/0.5935, allocations: 154.8 kB / 0.7601 GB, free: 6.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.594, allocations: 177.3 kB / 0.7603 GB, free: 6.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009056/0.6031, allocations: 3.583 MB / 0.7638 GB, free: 2.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.6031, allocations: 0 / 0.7638 GB, free: 2.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.6031, allocations: 4 kB / 0.7638 GB, free: 2.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.6032, allocations: 0 / 0.7638 GB, free: 2.766 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.005992/0.6092, allocations: 1.538 MB / 0.7653 GB, free: 1.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.6092, allocations: 8.031 kB / 0.7653 GB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/0.6125, allocations: 316 kB / 0.7656 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.6138, allocations: 0.5248 MB / 0.7661 GB, free: 352 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.319e-05/0.6139, allocations: 49.31 kB / 0.7662 GB, free: 304 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.614, allocations: 61.72 kB / 0.7662 GB, free: 244 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/0.618, allocations: 0.9906 MB / 0.7672 GB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.166e-05/0.6181, allocations: 4 kB / 0.7672 GB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.6182, allocations: 31.44 kB / 0.7672 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/0.6183, allocations: 20.98 kB / 0.7673 GB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004537/0.6228, allocations: 0.9209 MB / 0.7682 GB, free: 14.23 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.007955/0.6308, allocations: 4.482 MB / 0.7725 GB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004158/0.635, allocations: 0.8031 MB / 0.7733 GB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.6363, allocations: 314 kB / 0.7736 GB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3242/0.9606, allocations: 83.94 MB / 0.8556 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.9607, allocations: 35 kB / 0.8556 GB, free: 11.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 3.407e-06/0.9607, allocations: 0 / 0.8556 GB, free: 11.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.01116/0.9719, allocations: 2.299 MB / 0.8579 GB, free: 8.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.972, allocations: 115.2 kB / 0.858 GB, free: 8.633 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/0.973, allocations: 482.8 kB / 0.8584 GB, free: 8.152 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.9731, allocations: 37.7 kB / 0.8585 GB, free: 8.109 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.9734, allocations: 335.8 kB / 0.8588 GB, free: 7.777 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.9737, allocations: 177.1 kB / 0.859 GB, free: 7.609 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.9738, allocations: 12 kB / 0.859 GB, free: 7.598 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002366/0.974, allocations: 366.8 kB / 0.8593 GB, free: 7.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.9752, allocations: 281.1 kB / 0.8596 GB, free: 6.957 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.9766, allocations: 482 kB / 0.8601 GB, free: 6.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.9779, allocations: 334 kB / 0.8604 GB, free: 6.086 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.9779, allocations: 3.938 kB / 0.8604 GB, free: 6.082 MB / 458.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004234/0.9822, allocations: 1.018 MB / 0.8614 GB, free: 5.055 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002134/0.9824, allocations: 247.9 kB / 0.8616 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.9825, allocations: 8 kB / 0.8616 GB, free: 4.723 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/0.9862, allocations: 436.4 kB / 0.862 GB, free: 4.293 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.9873, allocations: 151.7 kB / 0.8622 GB, free: 4.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.9895, allocations: 0.919 MB / 0.8631 GB, free: 3.199 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.9908, allocations: 83.92 kB / 0.8632 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.9909, allocations: 39.98 kB / 0.8632 GB, free: 3.078 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.9909, allocations: 4 kB / 0.8632 GB, free: 3.074 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005461/0.9964, allocations: 0.9624 MB / 0.8641 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.9965, allocations: 8 kB / 0.8641 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/0.9992, allocations: 344.8 kB / 0.8645 GB, free: 1.762 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1, allocations: 151.8 kB / 0.8646 GB, free: 1.613 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/1.002, allocations: 0.8897 MB / 0.8655 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/1.003, allocations: 95.81 kB / 0.8656 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.906e-05/1.004, allocations: 28 kB / 0.8656 GB, free: 0.5781 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 (61): * Single equations (assignments): 60 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0006302/1.004, allocations: 292.4 kB / 0.8659 GB, free: 292 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/1.004, allocations: 59.25 kB / 0.8659 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006675/1.011, allocations: 2.935 MB / 0.8688 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/1.011, allocations: 3.984 kB / 0.8688 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.011, allocations: 4 kB / 0.8688 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007311/1.012, allocations: 318.8 kB / 0.8691 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/1.012, allocations: 12 kB / 0.8691 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.013, allocations: 95.84 kB / 0.8692 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/1.013, allocations: 56.42 kB / 0.8693 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004822/1.018, allocations: 1.761 MB / 0.871 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005933/1.024, allocations: 2.541 MB / 0.8735 GB, free: 8.48 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001857/1.026, allocations: 0.7907 MB / 0.8742 GB, free: 7.691 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008427/1.027, allocations: 399 kB / 0.8746 GB, free: 7.305 MB / 474.7 MB Notification: Performance of Backend: time 5.51e-07/1.027, allocations: 0 / 0.8746 GB, free: 7.305 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01464/1.042, allocations: 2.578 MB / 0.8771 GB, free: 4.883 MB / 474.7 MB Notification: Performance of SimCode: time 0.00565/1.047, allocations: 2.752 MB / 0.8798 GB, free: 2.078 MB / 474.7 MB Notification: Performance of Templates: time 0.4317/1.479, allocations: 54.16 MB / 0.9327 GB, free: 162.7 MB / 490.7 MB