Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.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.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.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.003413/0.003413, allocations: 183.5 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.312/1.312, allocations: 194.2 MB / 202.1 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001656/0.001656, allocations: 113.5 kB / 247.1 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1865/0.1865, allocations: 39.94 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.654e-06/7.694e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.688/5.805, allocations: 2.584 GB / 3.022 GB, free: 87.42 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/5.805, allocations: 78.77 kB / 3.022 GB, free: 87.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.767/6.572, allocations: 207.6 MB / 3.224 GB, free: 70.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/6.573, allocations: 4 kB / 3.224 GB, free: 70.1 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.01091/6.583, allocations: 1.788 MB / 3.226 GB, free: 68.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/6.584, allocations: 8.031 kB / 3.226 GB, free: 68.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/6.586, allocations: 239.4 kB / 3.226 GB, free: 68.03 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/6.586, allocations: 270.7 kB / 3.227 GB, free: 67.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/6.586, allocations: 15.91 kB / 3.227 GB, free: 67.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/6.586, allocations: 16 kB / 3.227 GB, free: 67.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000728/6.587, allocations: 0.5166 MB / 3.227 GB, free: 67.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/6.588, allocations: 384.2 kB / 3.227 GB, free: 66.76 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/6.588, allocations: 0 / 3.227 GB, free: 66.76 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/6.588, allocations: 7.938 kB / 3.227 GB, free: 66.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/6.588, allocations: 8 kB / 3.227 GB, free: 66.74 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.503/8.091, allocations: 373.2 MB / 3.592 GB, free: 132.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.085e-05/8.091, allocations: 37.33 kB / 3.592 GB, free: 132.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/8.091, allocations: 18.2 kB / 3.592 GB, free: 132.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1083/8.199, allocations: 46.04 MB / 3.637 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/8.2, allocations: 119.1 kB / 3.637 GB, free: 99.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/8.2, allocations: 0 / 3.637 GB, free: 99.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.001551/8.201, allocations: 359.5 kB / 3.637 GB, free: 99.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/8.201, allocations: 130 kB / 3.638 GB, free: 99.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/8.202, allocations: 228.6 kB / 3.638 GB, free: 99.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/8.202, allocations: 25.7 kB / 3.638 GB, free: 99.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/8.202, allocations: 256.4 kB / 3.638 GB, free: 99.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/8.202, allocations: 43.69 kB / 3.638 GB, free: 99.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/8.202, allocations: 0 / 3.638 GB, free: 99.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/8.202, allocations: 331.1 kB / 3.638 GB, free: 98.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.806e-05/8.202, allocations: 57.44 kB / 3.638 GB, free: 98.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/8.202, allocations: 316.9 kB / 3.639 GB, free: 98.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/8.203, allocations: 118.3 kB / 3.639 GB, free: 98.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/8.203, allocations: 0 / 3.639 GB, free: 98.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002427/8.205, allocations: 0.8297 MB / 3.64 GB, free: 97.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/8.205, allocations: 8 kB / 3.64 GB, free: 97.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/8.205, allocations: 8 kB / 3.64 GB, free: 97.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/8.205, allocations: 12 kB / 3.64 GB, free: 97.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/8.206, allocations: 123.4 kB / 3.64 GB, free: 97.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/8.206, allocations: 15.84 kB / 3.64 GB, free: 97.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/8.206, allocations: 64.23 kB / 3.64 GB, free: 97.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-05/8.206, allocations: 34.08 kB / 3.64 GB, free: 97.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state_h_is.phase,state.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001307/8.206, allocations: 129.5 kB / 3.64 GB, free: 97.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009068/8.207, allocations: 271.3 kB / 3.64 GB, free: 97.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004198/8.208, allocations: 248.8 kB / 3.641 GB, free: 97.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/8.208, allocations: 0 / 3.641 GB, free: 97.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/8.208, allocations: 3.906 kB / 3.641 GB, free: 97.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/8.208, allocations: 0 / 3.641 GB, free: 97.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/8.208, allocations: 0.5944 MB / 3.641 GB, free: 96.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/8.208, allocations: 4 kB / 3.641 GB, free: 96.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/8.209, allocations: 11.98 kB / 3.641 GB, free: 96.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/8.209, allocations: 10.91 kB / 3.641 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/8.209, allocations: 7.406 kB / 3.641 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/8.209, allocations: 6.062 kB / 3.641 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/8.209, allocations: 0 / 3.641 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001148/8.21, allocations: 0.5297 MB / 3.642 GB, free: 96.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/8.21, allocations: 182.5 kB / 3.642 GB, free: 96.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/8.21, allocations: 3.875 kB / 3.642 GB, free: 96.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/8.21, allocations: 19.53 kB / 3.642 GB, free: 96.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/8.21, allocations: 13.89 kB / 3.642 GB, free: 96.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/8.21, allocations: 7.75 kB / 3.642 GB, free: 96.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0003626/8.211, allocations: 253.4 kB / 3.642 GB, free: 95.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0113/8.222, allocations: 1.562 MB / 3.644 GB, free: 94.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01565/8.238, allocations: 2.136 MB / 3.646 GB, free: 93.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005144/8.238, allocations: 178.1 kB / 3.646 GB, free: 93.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/8.238, allocations: 0 / 3.646 GB, free: 93.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.191e-05/8.239, allocations: 19 kB / 3.646 GB, free: 93.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/8.239, allocations: 24.91 kB / 3.646 GB, free: 93.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.628/8.867, allocations: 97.76 MB / 3.741 GB, free: 131.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/8.867, allocations: 0.8306 MB / 3.742 GB, free: 130.4 MB / 490.8 MB Notification: Performance of SimCode: time 2.044e-06/8.867, allocations: 0 / 3.742 GB, free: 130.4 MB / 490.8 MB Notification: Performance of Templates: time 0.05068/8.918, allocations: 39.15 MB / 3.78 GB, free: 130.2 MB / 490.8 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1)