Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_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.2+maint.om/package.mo): time 0.001096/0.001095, allocations: 193.9 kB / 7.466 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.446/1.446, allocations: 194.2 MB / 202.1 MB, free: 14.39 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001911/0.001911, allocations: 127 kB / 247.1 MB, free: 0.5195 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1679/0.1679, allocations: 39.95 MB / 331.9 MB, free: 11.58 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 6.101e-06/6.131e-06, allocations: 0 / 392.8 MB, free: 48.36 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09413/0.09415, allocations: 54.86 MB / 447.7 MB, free: 9.414 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.94/5.034, allocations: 2.626 GB / 3.063 GB, free: 23.98 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/5.035, allocations: 95.94 kB / 3.063 GB, free: 23.89 MB / 482.8 MB Notification: Performance of FrontEnd: time 1.852/6.887, allocations: 498.5 MB / 3.55 GB, free: 47.83 MB / 482.8 MB Notification: Performance of Transformations before backend: time 8.443e-05/6.887, allocations: 22 kB / 3.55 GB, free: 47.82 MB / 482.8 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.007621/6.895, allocations: 1.77 MB / 3.552 GB, free: 46.89 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/6.895, allocations: 7.781 kB / 3.552 GB, free: 46.89 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/6.897, allocations: 343.8 kB / 3.552 GB, free: 46.82 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/6.899, allocations: 0.6034 MB / 3.553 GB, free: 46.45 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/6.899, allocations: 96.14 kB / 3.553 GB, free: 46.38 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/6.899, allocations: 39.75 kB / 3.553 GB, free: 46.37 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001291/6.9, allocations: 0.7077 MB / 3.554 GB, free: 46.14 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/6.902, allocations: 0.8982 MB / 3.554 GB, free: 45.62 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/6.902, allocations: 7.219 kB / 3.554 GB, free: 45.62 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.813e-05/6.902, allocations: 3.75 kB / 3.554 GB, free: 45.62 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.783e-05/6.902, allocations: 44.61 kB / 3.554 GB, free: 45.61 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1012/7.003, allocations: 52.86 MB / 3.606 GB, free: 26.51 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/7.004, allocations: 253.3 kB / 3.606 GB, free: 26.41 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/7.004, allocations: 188.5 kB / 3.607 GB, free: 26.33 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007424/7.012, allocations: 3.709 MB / 3.61 GB, free: 23.46 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/7.012, allocations: 37.28 kB / 3.61 GB, free: 23.42 MB / 498.8 MB Notification: Performance of pre-optimization done (n=37): time 2.685e-06/7.012, allocations: 0 / 3.61 GB, free: 23.42 MB / 498.8 MB Notification: Performance of matching and sorting (n=41): time 0.004442/7.016, allocations: 1.44 MB / 3.612 GB, free: 22.7 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/7.016, allocations: 133.3 kB / 3.612 GB, free: 22.54 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/7.017, allocations: 499.3 kB / 3.612 GB, free: 22.14 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/7.017, allocations: 25.7 kB / 3.612 GB, free: 22.11 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/7.017, allocations: 374 kB / 3.613 GB, free: 21.78 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/7.017, allocations: 145.8 kB / 3.613 GB, free: 21.65 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/7.018, allocations: 0 / 3.613 GB, free: 21.65 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0002063/7.018, allocations: 374 kB / 3.613 GB, free: 21.29 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/7.018, allocations: 245.1 kB / 3.613 GB, free: 21.07 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/7.019, allocations: 0.5888 MB / 3.614 GB, free: 20.35 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007168/7.019, allocations: 342.8 kB / 3.614 GB, free: 20.06 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/7.019, allocations: 4 kB / 3.614 GB, free: 20.06 MB / 498.8 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002511/7.022, allocations: 1.125 MB / 3.615 GB, free: 19.09 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/7.022, allocations: 11.47 kB / 3.615 GB, free: 19.09 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/7.022, allocations: 12 kB / 3.615 GB, free: 19.07 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/7.022, allocations: 66.45 kB / 3.615 GB, free: 19.02 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/7.024, allocations: 307.7 kB / 3.616 GB, free: 18.77 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/7.025, allocations: 1.98 MB / 3.618 GB, free: 16.72 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00085/7.026, allocations: 95.25 kB / 3.618 GB, free: 16.65 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/7.026, allocations: 51.75 kB / 3.618 GB, free: 16.6 MB / 498.8 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.0002458/7.027, allocations: 144.5 kB / 3.618 GB, free: 16.45 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007101/7.027, allocations: 264.1 kB / 3.618 GB, free: 16.26 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/7.029, allocations: 1.803 MB / 3.62 GB, free: 14.62 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/7.029, allocations: 27.2 kB / 3.62 GB, free: 14.61 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/7.029, allocations: 0 / 3.62 GB, free: 14.61 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/7.029, allocations: 10.59 kB / 3.62 GB, free: 14.6 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/7.032, allocations: 2.751 MB / 3.623 GB, free: 12.13 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/7.032, allocations: 4 kB / 3.623 GB, free: 12.12 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009466/7.033, allocations: 193.4 kB / 3.623 GB, free: 11.98 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/7.033, allocations: 81.73 kB / 3.623 GB, free: 11.91 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/7.033, allocations: 7.75 kB / 3.623 GB, free: 11.91 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/7.035, allocations: 2.021 MB / 3.625 GB, free: 9.816 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/7.035, allocations: 4.031 kB / 3.625 GB, free: 9.812 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002715/7.038, allocations: 2.163 MB / 3.627 GB, free: 7.82 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/7.038, allocations: 231.6 kB / 3.627 GB, free: 7.605 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/7.038, allocations: 4.703 kB / 3.627 GB, free: 7.602 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/7.039, allocations: 51.92 kB / 3.627 GB, free: 7.562 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/7.039, allocations: 40.64 kB / 3.627 GB, free: 7.539 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/7.039, allocations: 27.83 kB / 3.627 GB, free: 7.516 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.0004558/7.039, allocations: 356.8 kB / 3.628 GB, free: 7.195 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.006037/7.045, allocations: 1.11 MB / 3.629 GB, free: 6.117 MB / 498.8 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.007224/7.053, allocations: 1.717 MB / 3.63 GB, free: 4.715 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.00265/7.055, allocations: 1.168 MB / 3.632 GB, free: 3.652 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/7.055, allocations: 0 / 3.632 GB, free: 3.652 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/7.057, allocations: 0.9357 MB / 3.632 GB, free: 2.805 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/7.059, allocations: 268.7 kB / 3.633 GB, free: 2.602 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/7.062, allocations: 1.642 MB / 3.634 GB, free: 1.109 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/7.063, allocations: 1.163 MB / 3.635 GB, free: 64 kB / 498.8 MB Notification: Performance of SimCode: time 1.353e-06/7.063, allocations: 0 / 3.635 GB, free: 64 kB / 498.8 MB Notification: Performance of Templates: time 0.2921/7.355, allocations: 38.71 MB / 3.673 GB, free: 111.1 MB / 498.8 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)