Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002664/0.002668, allocations: 355.3 kB / 15.95 MB, free: 6.215 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.388/3.388, allocations: 341.5 MB / 358.2 MB, free: 28.74 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003697/0.003697, allocations: 220.1 kB / 397.9 MB, free: 6.164 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5393/0.5393, allocations: 76.09 MB / 0.5014 GB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007284/0.0007286, allocations: 8 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1012, allocations: 48.71 MB / 0.6068 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.06107/0.1624, allocations: 38.7 MB / 0.6445 GB, free: 4.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3857/0.5481, allocations: 18.52 MB / 0.6626 GB, free: 13.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.5495, allocations: 26.78 kB / 0.6627 GB, free: 13.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.5515, allocations: 397.1 kB / 0.663 GB, free: 13.37 MB / 314.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.01793/0.5695, allocations: 4.048 MB / 0.667 GB, free: 12.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01388/0.5834, allocations: 2.912 MB / 0.6698 GB, free: 12.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003138/0.5866, allocations: 1.81 MB / 0.6716 GB, free: 12.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009582/0.5876, allocations: 370.8 kB / 0.672 GB, free: 11.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.5896, allocations: 0.6211 MB / 0.6726 GB, free: 11.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01578/0.6054, allocations: 6.436 MB / 0.6788 GB, free: 10.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003051/0.6058, allocations: 31.56 kB / 0.6789 GB, free: 10.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02052/0.6263, allocations: 7.191 MB / 0.6859 GB, free: 5.961 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003729/0.6267, allocations: 152.6 kB / 0.686 GB, free: 5.855 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.6272, allocations: 169.5 kB / 0.6862 GB, free: 5.723 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008457/0.6356, allocations: 3.519 MB / 0.6896 GB, free: 2.617 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.6357, allocations: 0 / 0.6896 GB, free: 2.617 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6357, allocations: 0 / 0.6896 GB, free: 2.617 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.6357, allocations: 0 / 0.6896 GB, free: 2.617 MB / 314.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.005794/0.6415, allocations: 1.512 MB / 0.6911 GB, free: 1.086 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.6416, allocations: 8.031 kB / 0.6911 GB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/0.6449, allocations: 303.6 kB / 0.6914 GB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.6463, allocations: 0.5144 MB / 0.6919 GB, free: 248 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/0.6464, allocations: 49.31 kB / 0.692 GB, free: 200 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.6466, allocations: 67.8 kB / 0.692 GB, free: 132 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004079/0.6507, allocations: 0.9906 MB / 0.693 GB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.6507, allocations: 3.938 kB / 0.693 GB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.6509, allocations: 28 kB / 0.693 GB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.562e-05/0.6509, allocations: 24.98 kB / 0.6931 GB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00449/0.6554, allocations: 0.9053 MB / 0.6939 GB, free: 14.14 MB / 330.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.008133/0.6636, allocations: 4.478 MB / 0.6983 GB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004097/0.6678, allocations: 0.7889 MB / 0.6991 GB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.6691, allocations: 314 kB / 0.6994 GB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3461/1.015, allocations: 83.87 MB / 0.7813 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/1.015, allocations: 42.95 kB / 0.7813 GB, free: 11.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 3.387e-06/1.015, allocations: 0 / 0.7813 GB, free: 11.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.0115/1.027, allocations: 2.273 MB / 0.7835 GB, free: 8.785 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/1.027, allocations: 107.2 kB / 0.7836 GB, free: 8.656 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/1.028, allocations: 489.4 kB / 0.7841 GB, free: 8.172 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/1.028, allocations: 37.7 kB / 0.7841 GB, free: 8.129 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/1.028, allocations: 335.7 kB / 0.7845 GB, free: 7.801 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/1.029, allocations: 179.8 kB / 0.7846 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/1.029, allocations: 16 kB / 0.7847 GB, free: 7.613 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/1.029, allocations: 370.8 kB / 0.785 GB, free: 7.242 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/1.03, allocations: 277.1 kB / 0.7853 GB, free: 6.973 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/1.032, allocations: 474 kB / 0.7857 GB, free: 6.434 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/1.033, allocations: 326 kB / 0.786 GB, free: 6.113 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.033, allocations: 0 / 0.786 GB, free: 6.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004674/1.038, allocations: 1.026 MB / 0.787 GB, free: 5.078 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002419/1.038, allocations: 263.9 kB / 0.7873 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.038, allocations: 8.859 kB / 0.7873 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004052/1.042, allocations: 456.3 kB / 0.7877 GB, free: 4.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.043, allocations: 135.8 kB / 0.7879 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/1.046, allocations: 0.9231 MB / 0.7888 GB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/1.047, allocations: 95.8 kB / 0.7889 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.047, allocations: 39.98 kB / 0.7889 GB, free: 3.066 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.047, allocations: 0 / 0.7889 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004442/1.052, allocations: 0.9465 MB / 0.7898 GB, free: 2.117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/1.052, allocations: 15.95 kB / 0.7898 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/1.054, allocations: 325.1 kB / 0.7901 GB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.056, allocations: 147.8 kB / 0.7903 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/1.058, allocations: 0.8814 MB / 0.7911 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/1.059, allocations: 86.66 kB / 0.7912 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/1.059, allocations: 32 kB / 0.7913 GB, free: 0.6211 MB / 426.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.0005756/1.06, allocations: 290.2 kB / 0.7915 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/1.06, allocations: 67.17 kB / 0.7916 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006802/1.067, allocations: 2.92 MB / 0.7945 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/1.067, allocations: 3.984 kB / 0.7945 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/1.067, allocations: 3.781 kB / 0.7945 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007017/1.067, allocations: 314.9 kB / 0.7948 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/1.068, allocations: 12 kB / 0.7948 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/1.069, allocations: 99.75 kB / 0.7949 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/1.069, allocations: 52.48 kB / 0.7949 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005072/1.074, allocations: 1.753 MB / 0.7966 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006203/1.08, allocations: 2.544 MB / 0.7991 GB, free: 8.535 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001939/1.082, allocations: 0.7947 MB / 0.7999 GB, free: 7.734 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008579/1.083, allocations: 395 kB / 0.8003 GB, free: 7.352 MB / 442.7 MB Notification: Performance of Backend: time 6.62e-07/1.083, allocations: 0 / 0.8003 GB, free: 7.352 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01443/1.098, allocations: 2.521 MB / 0.8027 GB, free: 5.004 MB / 442.7 MB Notification: Performance of SimCode: time 0.006196/1.104, allocations: 2.749 MB / 0.8054 GB, free: 2.215 MB / 442.7 MB Notification: Performance of Templates: time 0.4033/1.507, allocations: 53.4 MB / 0.8576 GB, free: 130.7 MB / 442.7 MB