Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [: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.003454/0.003454, allocations: 187.6 kB / 7.461 MB, free: 2.508 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.369/1.369, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001879/0.001879, allocations: 123.4 kB / 247.1 MB, free: 6.352 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.2004/0.2004, allocations: 39.93 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.736e-06/8.777e-06, allocations: 4 kB / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 54.87 MB / 447.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.927/7.036, allocations: 3.667 GB / 4.104 GB, free: 15.35 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/7.036, allocations: 91.94 kB / 4.104 GB, free: 15.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.722/8.758, allocations: 431.3 MB / 4.525 GB, free: 62.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001263/8.758, allocations: 23.22 kB / 4.525 GB, free: 62.56 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01075/8.769, allocations: 2.355 MB / 4.527 GB, free: 61.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/8.769, allocations: 11.69 kB / 4.528 GB, free: 61.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009409/8.77, allocations: 112 kB / 4.528 GB, free: 61.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/8.772, allocations: 0.6409 MB / 4.528 GB, free: 61.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/8.772, allocations: 94.23 kB / 4.528 GB, free: 61.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/8.772, allocations: 41.16 kB / 4.528 GB, free: 61.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001962/8.774, allocations: 1.058 MB / 4.529 GB, free: 61.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/8.776, allocations: 1.039 MB / 4.53 GB, free: 61.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/8.776, allocations: 3.844 kB / 4.53 GB, free: 61.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/8.776, allocations: 3.531 kB / 4.53 GB, free: 61.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.859e-05/8.776, allocations: 58.66 kB / 4.53 GB, free: 61.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007954/8.784, allocations: 5.037 MB / 4.535 GB, free: 58.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009006/8.785, allocations: 487.8 kB / 4.536 GB, free: 58.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/8.786, allocations: 342.1 kB / 4.536 GB, free: 58.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008239/8.786, allocations: 1.071 MB / 4.537 GB, free: 57.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/8.786, allocations: 48.59 kB / 4.537 GB, free: 57.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=63): time 2.665e-06/8.787, allocations: 0 / 4.537 GB, free: 57.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=75): time 0.01478/8.801, allocations: 3.694 MB / 4.541 GB, free: 56.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/8.801, allocations: 114.5 kB / 4.541 GB, free: 56.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/8.802, allocations: 489.4 kB / 4.541 GB, free: 56.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/8.802, allocations: 26.86 kB / 4.541 GB, free: 56.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/8.803, allocations: 368.6 kB / 4.542 GB, free: 56.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/8.803, allocations: 257.2 kB / 4.542 GB, free: 56.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/8.803, allocations: 0 / 4.542 GB, free: 56.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/8.803, allocations: 385.5 kB / 4.542 GB, free: 55.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/8.804, allocations: 422.8 kB / 4.543 GB, free: 55.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/8.805, allocations: 0.7202 MB / 4.544 GB, free: 55.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/8.807, allocations: 0.6905 MB / 4.544 GB, free: 55.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/8.807, allocations: 3.594 kB / 4.544 GB, free: 55.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003431/8.81, allocations: 1.612 MB / 4.546 GB, free: 55.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/8.81, allocations: 10.48 kB / 4.546 GB, free: 55.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/8.81, allocations: 10.34 kB / 4.546 GB, free: 55.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005461/8.816, allocations: 1.075 MB / 4.547 GB, free: 55.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008168/8.817, allocations: 167.1 kB / 4.547 GB, free: 55.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/8.819, allocations: 1.511 MB / 4.549 GB, free: 54.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/8.821, allocations: 84.7 kB / 4.549 GB, free: 54.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/8.821, allocations: 66.94 kB / 4.549 GB, free: 54.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004421/8.822, allocations: 137.4 kB / 4.549 GB, free: 54.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/8.822, allocations: 71.97 kB / 4.549 GB, free: 54.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004081/8.826, allocations: 1.519 MB / 4.55 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/8.826, allocations: 7.875 kB / 4.55 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/8.826, allocations: 0 / 4.55 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/8.826, allocations: 14.17 kB / 4.55 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004719/8.831, allocations: 2.747 MB / 4.553 GB, free: 53.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/8.831, allocations: 2.875 kB / 4.553 GB, free: 53.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/8.832, allocations: 254.5 kB / 4.553 GB, free: 53.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/8.833, allocations: 306.4 kB / 4.554 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.741e-05/8.834, allocations: 24.36 kB / 4.554 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/8.835, allocations: 2.172 MB / 4.556 GB, free: 51.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/8.835, allocations: 3.375 kB / 4.556 GB, free: 51.96 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003448/8.839, allocations: 2.02 MB / 4.558 GB, free: 51.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006163/8.839, allocations: 269.7 kB / 4.558 GB, free: 51.35 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/8.84, allocations: 18.09 kB / 4.558 GB, free: 51.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/8.84, allocations: 52.89 kB / 4.558 GB, free: 51.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/8.84, allocations: 61.89 kB / 4.558 GB, free: 51.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-05/8.841, allocations: 52.8 kB / 4.558 GB, free: 51.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004737/8.841, allocations: 371.4 kB / 4.558 GB, free: 51.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003291/8.844, allocations: 0.7865 MB / 4.559 GB, free: 51.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003571/8.848, allocations: 1.807 MB / 4.561 GB, free: 50.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001908/8.85, allocations: 1.063 MB / 4.562 GB, free: 50.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/8.85, allocations: 0 / 4.562 GB, free: 50.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001526/8.851, allocations: 0.6567 MB / 4.563 GB, free: 50.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/8.853, allocations: 335.5 kB / 4.563 GB, free: 50.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/8.858, allocations: 1.687 MB / 4.565 GB, free: 50.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008823/8.858, allocations: 1.174 MB / 4.566 GB, free: 49.63 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/8.858, allocations: 0 / 4.566 GB, free: 49.63 MB / 490.7 MB Notification: Performance of Templates: time 0.05175/8.91, allocations: 33.25 MB / 4.598 GB, free: 48.11 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1)