Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [: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.003403/0.003403, allocations: 182.2 kB / 7.455 MB, free: 2.512 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.432/1.432, allocations: 194.2 MB / 202.1 MB, free: 8.75 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.001717/0.001717, allocations: 125.1 kB / 247.1 MB, free: 6.246 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.1759/0.1759, allocations: 39.95 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.574e-06/7.835e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 54.88 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.248/5.357, allocations: 2.624 GB / 3.061 GB, free: 127.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/5.358, allocations: 91.36 kB / 3.062 GB, free: 127.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.597/6.954, allocations: 496.3 MB / 3.546 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.249e-05/6.954, allocations: 20 kB / 3.546 GB, free: 0.5078 MB / 490.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.2621/7.216, allocations: 1.694 MB / 3.548 GB, free: 92.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/7.217, allocations: 11.09 kB / 3.548 GB, free: 92.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/7.219, allocations: 242.1 kB / 3.548 GB, free: 92.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/7.221, allocations: 0.5964 MB / 3.549 GB, free: 92.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/7.221, allocations: 92.53 kB / 3.549 GB, free: 92.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/7.221, allocations: 30.75 kB / 3.549 GB, free: 92.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001452/7.223, allocations: 0.6415 MB / 3.549 GB, free: 92.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/7.224, allocations: 0.8785 MB / 3.55 GB, free: 91.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/7.224, allocations: 5.812 kB / 3.55 GB, free: 91.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/7.224, allocations: 3.938 kB / 3.55 GB, free: 91.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-05/7.224, allocations: 47.72 kB / 3.55 GB, free: 91.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.133/7.357, allocations: 67.59 MB / 3.616 GB, free: 50.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/7.358, allocations: 229.7 kB / 3.617 GB, free: 50.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/7.358, allocations: 155.2 kB / 3.617 GB, free: 50 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1059/7.464, allocations: 53.5 MB / 3.669 GB, free: 31.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.564e-05/7.464, allocations: 36.66 kB / 3.669 GB, free: 31.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.806e-06/7.464, allocations: 0 / 3.669 GB, free: 31.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.00426/7.468, allocations: 1.358 MB / 3.67 GB, free: 30.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.064e-05/7.469, allocations: 139.9 kB / 3.67 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008091/7.469, allocations: 0.5039 MB / 3.671 GB, free: 30.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/7.469, allocations: 25.7 kB / 3.671 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/7.47, allocations: 377.5 kB / 3.671 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/7.47, allocations: 139.8 kB / 3.671 GB, free: 30.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/7.47, allocations: 0 / 3.671 GB, free: 30.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001778/7.47, allocations: 378.6 kB / 3.672 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/7.47, allocations: 227.2 kB / 3.672 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/7.471, allocations: 0.6053 MB / 3.673 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007392/7.472, allocations: 354.6 kB / 3.673 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/7.472, allocations: 3.906 kB / 3.673 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002202/7.474, allocations: 1.044 MB / 3.674 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/7.474, allocations: 3.906 kB / 3.674 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/7.474, allocations: 22.89 kB / 3.674 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/7.474, allocations: 70.67 kB / 3.674 GB, free: 29.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/7.475, allocations: 285.7 kB / 3.674 GB, free: 29.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/7.477, allocations: 2.032 MB / 3.676 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/7.478, allocations: 45.67 kB / 3.676 GB, free: 27.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/7.478, allocations: 50.73 kB / 3.676 GB, free: 27.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002081/7.479, allocations: 150.5 kB / 3.677 GB, free: 27.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005454/7.479, allocations: 202.2 kB / 3.677 GB, free: 27.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/7.481, allocations: 1.672 MB / 3.678 GB, free: 27.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/7.481, allocations: 23.89 kB / 3.678 GB, free: 27.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/7.481, allocations: 0.9844 kB / 3.678 GB, free: 27.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/7.481, allocations: 0 / 3.678 GB, free: 27.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003117/7.484, allocations: 2.522 MB / 3.681 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/7.484, allocations: 0 / 3.681 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008853/7.485, allocations: 160.7 kB / 3.681 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003048/7.485, allocations: 120.4 kB / 3.681 GB, free: 26.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/7.485, allocations: 7 kB / 3.681 GB, free: 26.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/7.487, allocations: 2.123 MB / 3.683 GB, free: 40.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/7.487, allocations: 0 / 3.683 GB, free: 40.89 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00282/7.49, allocations: 1.963 MB / 3.685 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005735/7.491, allocations: 217.9 kB / 3.685 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/7.491, allocations: 0 / 3.685 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006157/7.492, allocations: 25.59 kB / 3.685 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/7.492, allocations: 26.8 kB / 3.685 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/7.492, allocations: 17.45 kB / 3.685 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0008598/7.493, allocations: 362.4 kB / 3.686 GB, free: 40.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006042/7.499, allocations: 1.12 MB / 3.687 GB, free: 40.39 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009421/7.508, allocations: 1.73 MB / 3.689 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002521/7.511, allocations: 1.11 MB / 3.69 GB, free: 40.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/7.511, allocations: 0 / 3.69 GB, free: 40.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/7.512, allocations: 0.8606 MB / 3.691 GB, free: 40.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/7.514, allocations: 248.7 kB / 3.691 GB, free: 40.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/7.518, allocations: 1.543 MB / 3.692 GB, free: 39.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/7.519, allocations: 1.134 MB / 3.693 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/7.519, allocations: 0 / 3.693 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.05528/7.574, allocations: 37.35 MB / 3.73 GB, free: 32.1 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)