Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007137/0.007137, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.001291/0.001291, allocations: 191.5 kB / 16.67 MB, free: 5.918 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.684/1.684, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2951/0.2951, allocations: 37.99 MB / 307.9 MB, free: 10.14 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.1. 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.00146/0.00146, allocations: 71.91 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2977, allocations: 56.47 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03339/0.3311, allocations: 39.06 MB / 0.5162 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02428/0.3555, allocations: 20.13 MB / 0.5358 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.3566, allocations: 23.84 kB / 0.5358 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.3579, allocations: 445.3 kB / 0.5363 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01541/0.3734, allocations: 5.102 MB / 0.5413 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007044/0.3804, allocations: 2.568 MB / 0.5438 GB, free: 44 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002946/0.3834, allocations: 1.989 MB / 0.5457 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007425/0.3841, allocations: 0.4897 MB / 0.5462 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009181/0.3933, allocations: 4.168 MB / 0.5503 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01152/0.4049, allocations: 5.42 MB / 0.5555 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.4052, allocations: 72 kB / 0.5556 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01922/0.4245, allocations: 7.387 MB / 0.5628 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005235/0.425, allocations: 291.1 kB / 0.5631 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007552/0.4258, allocations: 454 kB / 0.5635 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.4412, allocations: 5.128 MB / 0.5685 GB, free: 6.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4413, allocations: 4 kB / 0.5686 GB, free: 6.473 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4413, allocations: 4 kB / 0.5686 GB, free: 6.469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.4413, allocations: 0 / 0.5686 GB, free: 6.469 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.004498/0.4458, allocations: 1.703 MB / 0.5702 GB, free: 4.711 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.4459, allocations: 12.03 kB / 0.5702 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/0.4481, allocations: 296.2 kB / 0.5705 GB, free: 4.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009629/0.4491, allocations: 0.5954 MB / 0.5711 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.4492, allocations: 113.3 kB / 0.5712 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.4493, allocations: 60.12 kB / 0.5713 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.4518, allocations: 1.158 MB / 0.5724 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.4519, allocations: 7.938 kB / 0.5724 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.242e-05/0.452, allocations: 24 kB / 0.5724 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.315e-05/0.452, allocations: 45.3 kB / 0.5725 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.4538, allocations: 0.8479 MB / 0.5733 GB, free: 1.414 MB / 446.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.005879/0.4597, allocations: 5.506 MB / 0.5787 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.4609, allocations: 0.5755 MB / 0.5792 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.4613, allocations: 229.5 kB / 0.5794 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09612/0.5574, allocations: 46.4 MB / 0.6248 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.996e-05/0.5575, allocations: 46.5 kB / 0.6248 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 3.156e-06/0.5576, allocations: 0 / 0.6248 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.006141/0.5637, allocations: 1.937 MB / 0.6267 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.967e-05/0.5638, allocations: 178 kB / 0.6269 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009102/0.5647, allocations: 0.6133 MB / 0.6275 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.752e-05/0.5648, allocations: 37.7 kB / 0.6275 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.5652, allocations: 404.3 kB / 0.6279 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.5654, allocations: 178.5 kB / 0.6281 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.5656, allocations: 154.6 kB / 0.6282 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.5658, allocations: 378.8 kB / 0.6286 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.5663, allocations: 229.9 kB / 0.6288 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.5669, allocations: 0.564 MB / 0.6293 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.5682, allocations: 0.8407 MB / 0.6302 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.5682, allocations: 0 / 0.6302 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001554/0.5697, allocations: 0.8755 MB / 0.631 GB, free: 128 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.5698, allocations: 12 kB / 0.631 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.5698, allocations: 8 kB / 0.631 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.5701, allocations: 64.77 kB / 0.6311 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2475/0.8176, allocations: 281.2 kB / 0.6314 GB, free: 138.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.819, allocations: 2.072 MB / 0.6334 GB, free: 136.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.8196, allocations: 29.83 kB / 0.6334 GB, free: 136.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.8197, allocations: 42.61 kB / 0.6335 GB, free: 136.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003876/0.8201, allocations: 273.6 kB / 0.6337 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.8203, allocations: 76.94 kB / 0.6338 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.823, allocations: 2.216 MB / 0.6359 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.542e-05/0.823, allocations: 29.64 kB / 0.636 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.823, allocations: 5.797 kB / 0.636 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.823, allocations: 3.797 kB / 0.636 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/0.8268, allocations: 3.287 MB / 0.6392 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.8268, allocations: 0.9375 kB / 0.6392 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/0.8278, allocations: 191.4 kB / 0.6394 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003493/0.8282, allocations: 88.86 kB / 0.6395 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.8282, allocations: 16.61 kB / 0.6395 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.8294, allocations: 2.093 MB / 0.6415 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8294, allocations: 1.031 kB / 0.6415 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.8316, allocations: 1.993 MB / 0.6435 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.8319, allocations: 251.2 kB / 0.6437 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.847e-05/0.832, allocations: 25.41 kB / 0.6437 GB, free: 131 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.8325, allocations: 29.83 kB / 0.6438 GB, free: 131 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.8326, allocations: 37.59 kB / 0.6438 GB, free: 131 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/0.8326, allocations: 23.84 kB / 0.6438 GB, free: 131 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006826/0.8333, allocations: 0.5131 MB / 0.6443 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8333, allocations: 0 / 0.6443 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003141/0.8365, allocations: 1.089 MB / 0.6454 GB, free: 130.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003898/0.8404, allocations: 1.226 MB / 0.6466 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002046/0.8424, allocations: 0.9429 MB / 0.6475 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8424, allocations: 1.406 kB / 0.6475 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.8437, allocations: 0.6767 MB / 0.6482 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.8456, allocations: 389.1 kB / 0.6485 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003192/0.8488, allocations: 2.254 MB / 0.6507 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.8494, allocations: 1.113 MB / 0.6518 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000879/0.8503, allocations: 456.9 kB / 0.6523 GB, free: 128 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.8504, allocations: 65.41 kB / 0.6523 GB, free: 128 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.8504, allocations: 0 / 0.6523 GB, free: 128 MB / 0.4981 GB Notification: Performance of Templates: time 0.05144/0.9019, allocations: 46.01 MB / 0.6973 GB, free: 93.87 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)