Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.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.001104/0.001104, allocations: 188.8 kB / 8.139 MB, free: 2.191 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.109/1.109, allocations: 194.2 MB / 202.8 MB, free: 8.738 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.001805/0.001805, allocations: 123.1 kB / 247.7 MB, free: 6.277 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.482e-06, allocations: 0 / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07096/0.07099, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.127/5.198, allocations: 3.616 GB / 3.95 GB, free: 32.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/5.198, allocations: 83.94 kB / 3.95 GB, free: 32.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.961/6.159, allocations: 321.9 MB / 4.265 GB, free: 12.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.547e-05/6.159, allocations: 11.98 kB / 4.265 GB, free: 12.31 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004116/6.163, allocations: 1.569 MB / 4.266 GB, free: 10.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/6.163, allocations: 12.03 kB / 4.266 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004107/6.164, allocations: 59.42 kB / 4.266 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/6.164, allocations: 355.4 kB / 4.267 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/6.164, allocations: 16 kB / 4.267 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/6.164, allocations: 24 kB / 4.267 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008822/6.165, allocations: 0.5642 MB / 4.267 GB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/6.166, allocations: 436.4 kB / 4.268 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/6.166, allocations: 0 / 4.268 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/6.166, allocations: 4 kB / 4.268 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/6.166, allocations: 15.91 kB / 4.268 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/6.169, allocations: 2.08 MB / 4.27 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007633/6.17, allocations: 366.5 kB / 4.27 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003671/6.17, allocations: 239.3 kB / 4.27 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004356/6.171, allocations: 0.7126 MB / 4.271 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/6.171, allocations: 46.94 kB / 4.271 GB, free: 5.375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 2.855e-06/6.171, allocations: 0 / 4.271 GB, free: 5.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.01112/6.182, allocations: 2.894 MB / 4.274 GB, free: 2.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/6.182, allocations: 60.06 kB / 4.274 GB, free: 2.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/6.182, allocations: 206.9 kB / 4.274 GB, free: 2.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/6.182, allocations: 33.7 kB / 4.274 GB, free: 2.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/6.182, allocations: 174.2 kB / 4.274 GB, free: 1.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/6.182, allocations: 220.7 kB / 4.274 GB, free: 1.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/6.182, allocations: 0 / 4.274 GB, free: 1.715 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.661e-05/6.182, allocations: 342.8 kB / 4.275 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/6.183, allocations: 269.2 kB / 4.275 GB, free: 1.109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/6.183, allocations: 331 kB / 4.275 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007801/6.184, allocations: 366.9 kB / 4.276 GB, free: 420 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/6.184, allocations: 0 / 4.276 GB, free: 420 kB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002108/6.186, allocations: 0.9237 MB / 4.277 GB, free: 15.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/6.186, allocations: 9.562 kB / 4.277 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/6.186, allocations: 0 / 4.277 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/6.187, allocations: 266.4 kB / 4.277 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/6.188, allocations: 119.8 kB / 4.277 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002868/6.191, allocations: 3.341 MB / 4.28 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007109/6.192, allocations: 55.92 kB / 4.28 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/6.192, allocations: 27.98 kB / 4.28 GB, free: 11.39 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002258/6.192, allocations: 127.5 kB / 4.28 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/6.192, allocations: 39.53 kB / 4.28 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004716/6.197, allocations: 1.306 MB / 4.282 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/6.197, allocations: 12 kB / 4.282 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/6.197, allocations: 0 / 4.282 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004186/6.201, allocations: 1.341 MB / 4.283 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/6.204, allocations: 1.648 MB / 4.285 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/6.204, allocations: 8.297 kB / 4.285 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/6.205, allocations: 119.9 kB / 4.285 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/6.206, allocations: 312.4 kB / 4.285 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.227e-05/6.206, allocations: 20.83 kB / 4.285 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009499/6.207, allocations: 0.8294 MB / 4.286 GB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/6.207, allocations: 4 kB / 4.286 GB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002296/6.21, allocations: 1.403 MB / 4.287 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/6.21, allocations: 120.6 kB / 4.287 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/6.21, allocations: 8 kB / 4.287 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000787/6.211, allocations: 47.95 kB / 4.287 GB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/6.211, allocations: 54.14 kB / 4.287 GB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-05/6.211, allocations: 27.98 kB / 4.287 GB, free: 3.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001709/6.211, allocations: 184.5 kB / 4.288 GB, free: 3.477 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001866/6.213, allocations: 0.5033 MB / 4.288 GB, free: 2.973 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (62): * Single equations (assignments): 61 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002761/6.216, allocations: 1.367 MB / 4.289 GB, free: 1.598 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00155/6.217, allocations: 0.8802 MB / 4.29 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/6.217, allocations: 0 / 4.29 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007167/6.218, allocations: 370.6 kB / 4.291 GB, free: 340 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/6.219, allocations: 221.1 kB / 4.291 GB, free: 120 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1233/6.343, allocations: 1.058 MB / 4.292 GB, free: 91.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/6.343, allocations: 0.9342 MB / 4.293 GB, free: 90.74 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/6.343, allocations: 0 / 4.293 GB, free: 90.74 MB / 410.7 MB Notification: Performance of Templates: time 0.03049/6.374, allocations: 23.51 MB / 4.316 GB, free: 90.36 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)