Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002713/0.002713, allocations: 352.5 kB / 15.95 MB, free: 6.203 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.652/3.652, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003712/0.003712, allocations: 228.5 kB / 397.9 MB, free: 4.969 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.4667/0.4667, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008208/0.0008211, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1014, allocations: 48.72 MB / 0.6068 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.3764/0.4779, allocations: 19.86 MB / 0.6261 GB, free: 81.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02367/0.5016, allocations: 7.85 MB / 0.6338 GB, free: 76.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.5038, allocations: 39.22 kB / 0.6339 GB, free: 76.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.5064, allocations: 338.9 kB / 0.6342 GB, free: 76.14 MB / 362.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.006166/0.5127, allocations: 1.003 MB / 0.6352 GB, free: 75.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01312/0.5258, allocations: 1.96 MB / 0.6371 GB, free: 74.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004786/0.5307, allocations: 1.938 MB / 0.639 GB, free: 73.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.5328, allocations: 0.5265 MB / 0.6395 GB, free: 73.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.5357, allocations: 0.6225 MB / 0.6401 GB, free: 73.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004362/0.5402, allocations: 1.111 MB / 0.6412 GB, free: 73.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005125/0.5407, allocations: 41 kB / 0.6412 GB, free: 73.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.5441, allocations: 0.5496 MB / 0.6417 GB, free: 73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006723/0.5448, allocations: 176.8 kB / 0.6419 GB, free: 72.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006008/0.5454, allocations: 178.4 kB / 0.6421 GB, free: 72.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003144/0.5486, allocations: 1.002 MB / 0.6431 GB, free: 72.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.5487, allocations: 0 / 0.6431 GB, free: 72.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.5487, allocations: 0 / 0.6431 GB, free: 72.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.265e-05/0.5487, allocations: 0 / 0.6431 GB, free: 72.12 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.005115/0.5539, allocations: 1.07 MB / 0.6441 GB, free: 71.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/0.554, allocations: 11.28 kB / 0.6441 GB, free: 71.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.555, allocations: 97.73 kB / 0.6442 GB, free: 71.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.557, allocations: 0.5629 MB / 0.6448 GB, free: 70.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.61e-05/0.5571, allocations: 38.12 kB / 0.6448 GB, free: 70.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.5574, allocations: 50.16 kB / 0.6448 GB, free: 70.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.5608, allocations: 0.8154 MB / 0.6456 GB, free: 70.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.663e-05/0.5609, allocations: 5.312 kB / 0.6456 GB, free: 70.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.5611, allocations: 22.88 kB / 0.6457 GB, free: 70.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/0.5612, allocations: 22.88 kB / 0.6457 GB, free: 70.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00425/0.5654, allocations: 0.7883 MB / 0.6465 GB, free: 69.8 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.01092/0.5764, allocations: 3.614 MB / 0.65 GB, free: 66.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.5793, allocations: 476.9 kB / 0.6504 GB, free: 66.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.5812, allocations: 323.8 kB / 0.6508 GB, free: 66.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006077/0.5819, allocations: 0.5735 MB / 0.6513 GB, free: 65.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.5819, allocations: 38.62 kB / 0.6513 GB, free: 65.47 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001756/0.5837, allocations: 114.7 kB / 0.6515 GB, free: 65.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 9.869e-06/0.5838, allocations: 0 / 0.6515 GB, free: 65.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=69): time 0.1249/0.7087, allocations: 8.074 MB / 0.6593 GB, free: 58.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.7088, allocations: 107.4 kB / 0.6594 GB, free: 58.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/0.7097, allocations: 0.5677 MB / 0.66 GB, free: 57.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.7099, allocations: 33.7 kB / 0.66 GB, free: 57.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.7101, allocations: 375.7 kB / 0.6604 GB, free: 57.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.7104, allocations: 240.5 kB / 0.6606 GB, free: 57.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.7105, allocations: 16 kB / 0.6606 GB, free: 57.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.7107, allocations: 382.8 kB / 0.661 GB, free: 56.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/0.7131, allocations: 0.5133 MB / 0.6615 GB, free: 56.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/0.7157, allocations: 0.7628 MB / 0.6622 GB, free: 55.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002647/0.7183, allocations: 0.577 MB / 0.6628 GB, free: 54.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.7184, allocations: 4 kB / 0.6628 GB, free: 54.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.006594/0.725, allocations: 1.599 MB / 0.6644 GB, free: 53.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.7252, allocations: 312.1 kB / 0.6647 GB, free: 52.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.7252, allocations: 8 kB / 0.6647 GB, free: 52.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02053/0.7458, allocations: 1.553 MB / 0.6662 GB, free: 51.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/0.7483, allocations: 282.2 kB / 0.6665 GB, free: 51.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/0.7513, allocations: 1.631 MB / 0.6681 GB, free: 49.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/0.754, allocations: 147.8 kB / 0.6682 GB, free: 49.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.7543, allocations: 63.94 kB / 0.6683 GB, free: 49.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.7543, allocations: 4 kB / 0.6683 GB, free: 49.14 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006703/0.761, allocations: 1.488 MB / 0.6697 GB, free: 47.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.7611, allocations: 8 kB / 0.6697 GB, free: 47.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003967/0.7651, allocations: 483.2 kB / 0.6702 GB, free: 47.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/0.7678, allocations: 291.5 kB / 0.6705 GB, free: 46.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/0.772, allocations: 2.682 MB / 0.6731 GB, free: 44.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/0.7747, allocations: 135 kB / 0.6732 GB, free: 43.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/0.7751, allocations: 63.94 kB / 0.6733 GB, free: 43.85 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * 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,3 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006582/0.7758, allocations: 304.8 kB / 0.6736 GB, free: 43.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.776, allocations: 75.06 kB / 0.6736 GB, free: 43.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007759/0.7838, allocations: 1.848 MB / 0.6754 GB, free: 41.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.7839, allocations: 3.984 kB / 0.6754 GB, free: 41.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7839, allocations: 0 / 0.6754 GB, free: 41.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006845/0.7846, allocations: 259.8 kB / 0.6757 GB, free: 41.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.7849, allocations: 16 kB / 0.6757 GB, free: 41.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/0.7869, allocations: 131.8 kB / 0.6758 GB, free: 41.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.7872, allocations: 64.84 kB / 0.6759 GB, free: 41.17 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0142/0.8014, allocations: 1.771 MB / 0.6776 GB, free: 39.39 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01962/0.8211, allocations: 1.938 MB / 0.6795 GB, free: 37.43 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009732/0.8309, allocations: 0.5074 MB / 0.68 GB, free: 36.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008622/0.8318, allocations: 387.1 kB / 0.6804 GB, free: 36.55 MB / 362.7 MB Notification: Performance of Backend: time 7.52e-07/0.8318, allocations: 0 / 0.6804 GB, free: 36.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.02099/0.8528, allocations: 2.038 MB / 0.6824 GB, free: 34.52 MB / 362.7 MB Notification: Performance of SimCode: time 0.006409/0.8593, allocations: 2.598 MB / 0.6849 GB, free: 31.89 MB / 362.7 MB Notification: Performance of Templates: time 0.06952/0.9289, allocations: 29.04 MB / 0.7133 GB, free: 3.18 MB / 362.7 MB