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/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.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") [: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.006509/0.00651, allocations: 174.3 kB / 7.45 MB, free: 2.34 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.777/1.777, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001864/0.001864, allocations: 112.5 kB / 217.7 MB, free: 8.211 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.2562/0.2562, allocations: 37.98 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.021e-05/1.047e-05, allocations: 0 / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1429, allocations: 48.71 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.841/6.984, allocations: 2.515 GB / 2.904 GB, free: 108.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000418/6.984, allocations: 92.48 kB / 2.904 GB, free: 108.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.722/8.707, allocations: 486.4 MB / 3.379 GB, free: 11.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001145/8.707, allocations: 18.84 kB / 3.379 GB, free: 11.28 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.009409/8.716, allocations: 1.678 MB / 3.381 GB, free: 9.566 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/8.717, allocations: 12.03 kB / 3.381 GB, free: 9.555 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/8.72, allocations: 318.8 kB / 3.381 GB, free: 9.242 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/8.722, allocations: 0.6068 MB / 3.382 GB, free: 8.598 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/8.722, allocations: 92.7 kB / 3.382 GB, free: 8.496 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/8.723, allocations: 35.91 kB / 3.382 GB, free: 8.461 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001991/8.725, allocations: 0.6697 MB / 3.383 GB, free: 7.793 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/8.727, allocations: 0.8948 MB / 3.383 GB, free: 6.797 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/8.727, allocations: 4 kB / 3.383 GB, free: 6.793 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/8.727, allocations: 7.938 kB / 3.383 GB, free: 6.785 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.649e-05/8.727, allocations: 49.22 kB / 3.383 GB, free: 6.738 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4432/9.17, allocations: 83 MB / 3.465 GB, free: 34.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005158/9.171, allocations: 232.5 kB / 3.465 GB, free: 34.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/9.171, allocations: 158.5 kB / 3.465 GB, free: 34.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07616/9.247, allocations: 34.02 MB / 3.498 GB, free: 28.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.32e-05/9.247, allocations: 40.81 kB / 3.498 GB, free: 28.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=33): time 2.715e-06/9.247, allocations: 0 / 3.498 GB, free: 28.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.005231/9.253, allocations: 1.348 MB / 3.499 GB, free: 28.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/9.253, allocations: 132.2 kB / 3.5 GB, free: 28.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009568/9.254, allocations: 0.4945 MB / 3.5 GB, free: 27.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.755e-05/9.254, allocations: 28.33 kB / 3.5 GB, free: 27.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/9.254, allocations: 378.2 kB / 3.5 GB, free: 27.67 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/9.254, allocations: 136.8 kB / 3.501 GB, free: 27.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/9.254, allocations: 0 / 3.501 GB, free: 27.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/9.255, allocations: 377.5 kB / 3.501 GB, free: 27.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/9.255, allocations: 217.4 kB / 3.501 GB, free: 27.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/9.256, allocations: 0.5785 MB / 3.502 GB, free: 26.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008313/9.256, allocations: 348.2 kB / 3.502 GB, free: 26.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/9.256, allocations: 3.469 kB / 3.502 GB, free: 26.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002483/9.259, allocations: 1.017 MB / 3.503 GB, free: 26.72 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/9.259, allocations: 7.688 kB / 3.503 GB, free: 26.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/9.259, allocations: 10.97 kB / 3.503 GB, free: 26.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/9.259, allocations: 63.28 kB / 3.503 GB, free: 26.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/9.261, allocations: 286.8 kB / 3.503 GB, free: 26.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/9.263, allocations: 1.975 MB / 3.505 GB, free: 24.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/9.264, allocations: 46.36 kB / 3.505 GB, free: 24.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/9.264, allocations: 50.47 kB / 3.505 GB, free: 24.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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 () * 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.0003164/9.265, allocations: 139.2 kB / 3.506 GB, free: 24.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/9.266, allocations: 268 kB / 3.506 GB, free: 24.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/9.268, allocations: 1.764 MB / 3.508 GB, free: 24.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/9.268, allocations: 27.73 kB / 3.508 GB, free: 24.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/9.268, allocations: 0 / 3.508 GB, free: 24.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/9.268, allocations: 4 kB / 3.508 GB, free: 24.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/9.272, allocations: 2.659 MB / 3.51 GB, free: 24.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/9.272, allocations: 0 / 3.51 GB, free: 24.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008886/9.273, allocations: 170.5 kB / 3.51 GB, free: 24.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002631/9.273, allocations: 72.84 kB / 3.51 GB, free: 24.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/9.273, allocations: 15.42 kB / 3.51 GB, free: 24.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/9.275, allocations: 2.008 MB / 3.512 GB, free: 38.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/9.275, allocations: 0 / 3.512 GB, free: 38.43 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003231/9.279, allocations: 2.061 MB / 3.514 GB, free: 38.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/9.279, allocations: 230.8 kB / 3.515 GB, free: 38.06 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/9.28, allocations: 0 / 3.515 GB, free: 38.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/9.28, allocations: 49.97 kB / 3.515 GB, free: 38.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/9.28, allocations: 30.55 kB / 3.515 GB, free: 38.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.667e-05/9.281, allocations: 22.25 kB / 3.515 GB, free: 38.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000685/9.281, allocations: 365.2 kB / 3.515 GB, free: 37.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006936/9.288, allocations: 1.106 MB / 3.516 GB, free: 37.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * 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.01019/9.298, allocations: 1.711 MB / 3.518 GB, free: 37.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002619/9.301, allocations: 1.126 MB / 3.519 GB, free: 37.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/9.301, allocations: 2.875 kB / 3.519 GB, free: 37.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/9.303, allocations: 0.901 MB / 3.52 GB, free: 37.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/9.304, allocations: 257.7 kB / 3.52 GB, free: 37.72 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/9.307, allocations: 1.623 MB / 3.522 GB, free: 37.33 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009188/9.308, allocations: 1.146 MB / 3.523 GB, free: 36.61 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/9.308, allocations: 0 / 3.523 GB, free: 36.61 MB / 474.7 MB Notification: Performance of Templates: time 0.0615/9.37, allocations: 37.73 MB / 3.56 GB, free: 27.18 MB / 474.7 MB 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)