Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006924/0.006924, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 197.1 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.1 MB / 222.5 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3813/0.3813, allocations: 39.94 MB / 309.8 MB, free: 9.473 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 71.91 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3853, allocations: 56.88 MB / 492.7 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04607/0.4314, allocations: 39.05 MB / 0.5193 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03143/0.4629, allocations: 20.16 MB / 0.539 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.4644, allocations: 19.88 kB / 0.539 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.4662, allocations: 449.3 kB / 0.5394 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02191/0.4882, allocations: 5.102 MB / 0.5444 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01011/0.4983, allocations: 2.556 MB / 0.5469 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004062/0.5024, allocations: 1.958 MB / 0.5488 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.5035, allocations: 489.5 kB / 0.5493 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/0.5144, allocations: 4.156 MB / 0.5533 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/0.526, allocations: 5.424 MB / 0.5586 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.5263, allocations: 64 kB / 0.5587 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01792/0.5443, allocations: 7.239 MB / 0.5657 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006317/0.5449, allocations: 275.2 kB / 0.566 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008345/0.5458, allocations: 449.9 kB / 0.5664 GB, free: 8.645 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0178/0.5636, allocations: 4.954 MB / 0.5713 GB, free: 3.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.5637, allocations: 4 kB / 0.5713 GB, free: 3.676 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5637, allocations: 0 / 0.5713 GB, free: 3.676 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.5637, allocations: 0 / 0.5713 GB, free: 3.676 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005286/0.569, allocations: 1.617 MB / 0.5729 GB, free: 2.008 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/0.5691, allocations: 19.81 kB / 0.5729 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.5705, allocations: 215.8 kB / 0.5731 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.5716, allocations: 0.5754 MB / 0.5736 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.5717, allocations: 109.3 kB / 0.5738 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.5718, allocations: 64.12 kB / 0.5738 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.5738, allocations: 1.07 MB / 0.5749 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.5738, allocations: 7.875 kB / 0.5749 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-05/0.5739, allocations: 36 kB / 0.5749 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-05/0.574, allocations: 40.98 kB / 0.5749 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.5756, allocations: 0.8232 MB / 0.5757 GB, free: 14.89 MB / 462.1 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.006243/0.5819, allocations: 5.546 MB / 0.5812 GB, free: 8.984 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5832, allocations: 0.5321 MB / 0.5817 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.5835, allocations: 222.4 kB / 0.5819 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09872/0.6822, allocations: 47.65 MB / 0.6284 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/0.6823, allocations: 42.56 kB / 0.6285 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 2.966e-06/0.6823, allocations: 0 / 0.6285 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.006568/0.6889, allocations: 2.122 MB / 0.6305 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.6891, allocations: 195.8 kB / 0.6307 GB, free: 468 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3143/1.003, allocations: 0.631 MB / 0.6313 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/1.004, allocations: 32.27 kB / 0.6314 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/1.004, allocations: 404.5 kB / 0.6318 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/1.004, allocations: 162.2 kB / 0.6319 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/1.004, allocations: 158.4 kB / 0.6321 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.004, allocations: 380.2 kB / 0.6324 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/1.005, allocations: 227.9 kB / 0.6326 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/1.005, allocations: 0.593 MB / 0.6332 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/1.006, allocations: 0.8608 MB / 0.6341 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/1.007, allocations: 3.75 kB / 0.6341 GB, free: 117.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001556/1.008, allocations: 0.8986 MB / 0.6349 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/1.008, allocations: 14.56 kB / 0.635 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/1.008, allocations: 13.44 kB / 0.635 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003112/1.011, allocations: 266.8 kB / 0.6352 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/1.013, allocations: 280.1 kB / 0.6355 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/1.014, allocations: 2.122 MB / 0.6376 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/1.015, allocations: 33.23 kB / 0.6376 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.618e-05/1.015, allocations: 41.75 kB / 0.6376 GB, free: 115.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004809/1.015, allocations: 275.9 kB / 0.6379 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/1.016, allocations: 71.98 kB / 0.638 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002758/1.018, allocations: 2.003 MB / 0.6399 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.637e-05/1.018, allocations: 24.53 kB / 0.6399 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.018, allocations: 0.9062 kB / 0.6399 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/1.018, allocations: 5.656 kB / 0.64 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005045/1.024, allocations: 2.996 MB / 0.6429 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.024, allocations: 5.219 kB / 0.6429 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.025, allocations: 186.6 kB / 0.6431 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/1.027, allocations: 303.2 kB / 0.6433 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/1.027, allocations: 11.66 kB / 0.6434 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/1.029, allocations: 2.176 MB / 0.6455 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.029, allocations: 3.844 kB / 0.6455 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/1.032, allocations: 1.949 MB / 0.6474 GB, free: 112 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/1.032, allocations: 225 kB / 0.6476 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/1.033, allocations: 32.61 kB / 0.6476 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/1.033, allocations: 16.97 kB / 0.6477 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.033, allocations: 32.44 kB / 0.6477 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/1.033, allocations: 18.91 kB / 0.6477 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001206/1.034, allocations: 0.5762 MB / 0.6483 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.034, allocations: 0 / 0.6483 GB, free: 111.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004978/1.039, allocations: 1.083 MB / 0.6493 GB, free: 111.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004933/1.044, allocations: 1.191 MB / 0.6505 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00245/1.047, allocations: 0.9233 MB / 0.6514 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.047, allocations: 1.125 kB / 0.6514 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/1.048, allocations: 0.643 MB / 0.652 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/1.05, allocations: 408.9 kB / 0.6524 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/1.054, allocations: 2.122 MB / 0.6545 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/1.055, allocations: 1.097 MB / 0.6555 GB, free: 109 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008434/1.055, allocations: 350.5 kB / 0.6559 GB, free: 109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/1.056, allocations: 58.84 kB / 0.6559 GB, free: 109 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/1.056, allocations: 0 / 0.6559 GB, free: 109 MB / 0.4981 GB Notification: Performance of Templates: time 0.05415/1.11, allocations: 45.71 MB / 0.7006 GB, free: 73.31 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)