Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004532/0.004532, allocations: 177.4 kB / 7.451 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.578/1.578, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001919/0.001919, allocations: 112.6 kB / 217.7 MB, free: 8.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2098/0.2098, allocations: 37.98 MB / 294.8 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.606e-06, allocations: 0 / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1412, allocations: 48.71 MB / 398.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.806/6.947, allocations: 2.515 GB / 2.904 GB, free: 109.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/6.948, allocations: 93.73 kB / 2.904 GB, free: 109.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.682/8.63, allocations: 486.3 MB / 3.379 GB, free: 8.785 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001189/8.63, allocations: 20 kB / 3.379 GB, free: 8.766 MB / 442.7 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.008324/8.638, allocations: 1.724 MB / 3.381 GB, free: 7.008 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/8.639, allocations: 8.031 kB / 3.381 GB, free: 7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/8.641, allocations: 330.7 kB / 3.381 GB, free: 6.676 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/8.642, allocations: 0.6102 MB / 3.382 GB, free: 6.031 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/8.643, allocations: 92.7 kB / 3.382 GB, free: 5.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/8.643, allocations: 43.91 kB / 3.382 GB, free: 5.887 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001351/8.644, allocations: 0.7092 MB / 3.383 GB, free: 5.176 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/8.646, allocations: 0.8988 MB / 3.383 GB, free: 4.172 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/8.646, allocations: 7.938 kB / 3.383 GB, free: 4.164 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.599e-05/8.646, allocations: 4 kB / 3.383 GB, free: 4.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/8.646, allocations: 49.28 kB / 3.383 GB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3566/9.002, allocations: 52.77 MB / 3.435 GB, free: 51.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/9.003, allocations: 254.6 kB / 3.435 GB, free: 51.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/9.003, allocations: 188 kB / 3.435 GB, free: 51.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006265/9.009, allocations: 3.668 MB / 3.439 GB, free: 48.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/9.009, allocations: 48.52 kB / 3.439 GB, free: 48.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 2.806e-06/9.01, allocations: 0 / 3.439 GB, free: 48.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.004632/9.014, allocations: 1.429 MB / 3.44 GB, free: 48.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/9.014, allocations: 137 kB / 3.441 GB, free: 48.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009312/9.015, allocations: 0.4947 MB / 3.441 GB, free: 48.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/9.015, allocations: 25.7 kB / 3.441 GB, free: 48.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/9.016, allocations: 362.6 kB / 3.441 GB, free: 47.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/9.016, allocations: 146.5 kB / 3.442 GB, free: 47.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/9.016, allocations: 0 / 3.442 GB, free: 47.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/9.016, allocations: 373.1 kB / 3.442 GB, free: 47.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/9.016, allocations: 248.3 kB / 3.442 GB, free: 47.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/9.017, allocations: 0.5799 MB / 3.443 GB, free: 47.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/9.018, allocations: 346 kB / 3.443 GB, free: 47.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/9.018, allocations: 3.375 kB / 3.443 GB, free: 47.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002528/9.02, allocations: 1.128 MB / 3.444 GB, free: 47.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/9.02, allocations: 7.938 kB / 3.444 GB, free: 47.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/9.02, allocations: 8.781 kB / 3.444 GB, free: 47.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/9.021, allocations: 64.91 kB / 3.444 GB, free: 47.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/9.022, allocations: 313.3 kB / 3.445 GB, free: 47.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/9.023, allocations: 1.985 MB / 3.446 GB, free: 45.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/9.025, allocations: 91.62 kB / 3.447 GB, free: 45.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/9.025, allocations: 45.36 kB / 3.447 GB, free: 45.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002162/9.025, allocations: 143.8 kB / 3.447 GB, free: 45.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000796/9.026, allocations: 266.7 kB / 3.447 GB, free: 45.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/9.028, allocations: 1.806 MB / 3.449 GB, free: 44.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/9.028, allocations: 23.75 kB / 3.449 GB, free: 44.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/9.028, allocations: 0 / 3.449 GB, free: 44.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/9.028, allocations: 3.75 kB / 3.449 GB, free: 44.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/9.032, allocations: 2.756 MB / 3.451 GB, free: 44.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/9.032, allocations: 0 / 3.451 GB, free: 44.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009758/9.033, allocations: 197.1 kB / 3.452 GB, free: 44.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/9.033, allocations: 80.41 kB / 3.452 GB, free: 44.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/9.033, allocations: 10.06 kB / 3.452 GB, free: 44.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/9.034, allocations: 2.026 MB / 3.454 GB, free: 42.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/9.034, allocations: 0 / 3.454 GB, free: 42.73 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002796/9.037, allocations: 2.174 MB / 3.456 GB, free: 42.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/9.038, allocations: 233.1 kB / 3.456 GB, free: 42.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/9.038, allocations: 3 kB / 3.456 GB, free: 42.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006311/9.038, allocations: 48.91 kB / 3.456 GB, free: 42.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/9.039, allocations: 44.81 kB / 3.456 GB, free: 42.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.775e-05/9.039, allocations: 23.78 kB / 3.456 GB, free: 42.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004926/9.039, allocations: 358.1 kB / 3.457 GB, free: 42.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00657/9.046, allocations: 1.109 MB / 3.458 GB, free: 42.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01138/9.057, allocations: 1.717 MB / 3.459 GB, free: 41.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003667/9.061, allocations: 1.165 MB / 3.46 GB, free: 41.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/9.061, allocations: 3.344 kB / 3.46 GB, free: 41.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/9.063, allocations: 0.93 MB / 3.461 GB, free: 41.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/9.065, allocations: 261.3 kB / 3.462 GB, free: 41.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/9.069, allocations: 1.658 MB / 3.463 GB, free: 41.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009681/9.07, allocations: 1.151 MB / 3.464 GB, free: 40.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.432e-06/9.07, allocations: 4 kB / 3.464 GB, free: 40.84 MB / 442.7 MB Notification: Performance of Templates: time 0.07459/9.144, allocations: 38.47 MB / 3.502 GB, free: 38.44 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)