Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.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.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") [: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.00108/0.00108, allocations: 194.3 kB / 8.136 MB, free: 2.184 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.129/1.129, allocations: 194.2 MB / 202.8 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.001817/0.001817, allocations: 119.1 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.586e-06/8.616e-06, allocations: 4 kB / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07416/0.07419, allocations: 44.48 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.138, allocations: 0.6353 GB / 0.9694 GB, free: 129.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.138, allocations: 76.67 kB / 0.9694 GB, free: 129.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.056/2.194, allocations: 461.5 MB / 1.42 GB, free: 89.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/2.194, allocations: 10.02 kB / 1.42 GB, free: 89.75 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001191/2.195, allocations: 0.7109 MB / 1.421 GB, free: 89.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/2.195, allocations: 11.16 kB / 1.421 GB, free: 89.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/2.196, allocations: 56.09 kB / 1.421 GB, free: 89.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/2.196, allocations: 287 kB / 1.421 GB, free: 89.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/2.196, allocations: 7.5 kB / 1.421 GB, free: 89.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/2.196, allocations: 16.41 kB / 1.421 GB, free: 89.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003076/2.197, allocations: 178.2 kB / 1.421 GB, free: 89.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/2.197, allocations: 291 kB / 1.422 GB, free: 88.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/2.197, allocations: 4.75 kB / 1.422 GB, free: 88.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/2.197, allocations: 3.75 kB / 1.422 GB, free: 88.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/2.197, allocations: 7.312 kB / 1.422 GB, free: 88.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/2.207, allocations: 5.476 MB / 1.427 GB, free: 85.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/2.208, allocations: 108.6 kB / 1.427 GB, free: 85.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/2.208, allocations: 95.11 kB / 1.427 GB, free: 85.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008603/2.216, allocations: 3.526 MB / 1.431 GB, free: 84.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/2.216, allocations: 34.5 kB / 1.431 GB, free: 84.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 2.685e-06/2.216, allocations: 0 / 1.431 GB, free: 84.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.002765/2.219, allocations: 0.8801 MB / 1.432 GB, free: 83.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/2.219, allocations: 55.25 kB / 1.432 GB, free: 83.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/2.219, allocations: 189.7 kB / 1.432 GB, free: 83.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/2.219, allocations: 25.7 kB / 1.432 GB, free: 83.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/2.219, allocations: 178.7 kB / 1.432 GB, free: 83.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/2.22, allocations: 92.81 kB / 1.432 GB, free: 83.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/2.22, allocations: 4 kB / 1.432 GB, free: 83.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/2.22, allocations: 332.1 kB / 1.432 GB, free: 82.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/2.22, allocations: 79.47 kB / 1.432 GB, free: 82.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/2.22, allocations: 175.6 kB / 1.433 GB, free: 82.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/2.22, allocations: 152.7 kB / 1.433 GB, free: 82.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/2.22, allocations: 7.906 kB / 1.433 GB, free: 82.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009574/2.221, allocations: 401.5 kB / 1.433 GB, free: 82.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/2.221, allocations: 6.844 kB / 1.433 GB, free: 82.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/2.221, allocations: 7.875 kB / 1.433 GB, free: 82.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/2.222, allocations: 73.8 kB / 1.433 GB, free: 82.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/2.222, allocations: 67.19 kB / 1.433 GB, free: 82.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/2.223, allocations: 1.852 MB / 1.435 GB, free: 81.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/2.223, allocations: 20.64 kB / 1.435 GB, free: 81.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/2.224, allocations: 12.47 kB / 1.435 GB, free: 81.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 7.799e-05/2.224, allocations: 111.4 kB / 1.435 GB, free: 80.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/2.224, allocations: 29.16 kB / 1.435 GB, free: 80.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009135/2.225, allocations: 487.4 kB / 1.436 GB, free: 80.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/2.225, allocations: 7.438 kB / 1.436 GB, free: 80.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/2.225, allocations: 0 / 1.436 GB, free: 80.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007449/2.225, allocations: 0.7017 MB / 1.436 GB, free: 80.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/2.227, allocations: 0.8904 MB / 1.437 GB, free: 80.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/2.227, allocations: 0 / 1.437 GB, free: 80.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/2.227, allocations: 50.53 kB / 1.437 GB, free: 80.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000275/2.227, allocations: 95.05 kB / 1.437 GB, free: 80.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/2.227, allocations: 8.594 kB / 1.437 GB, free: 80.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005067/2.228, allocations: 0.6823 MB / 1.438 GB, free: 79.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/2.228, allocations: 4.062 kB / 1.438 GB, free: 79.56 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009901/2.229, allocations: 0.7085 MB / 1.439 GB, free: 79.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/2.229, allocations: 107.9 kB / 1.439 GB, free: 79.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/2.229, allocations: 3.875 kB / 1.439 GB, free: 79.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/2.229, allocations: 17.86 kB / 1.439 GB, free: 79.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/2.229, allocations: 16.59 kB / 1.439 GB, free: 79.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/2.229, allocations: 15.22 kB / 1.439 GB, free: 79.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001052/2.229, allocations: 151.6 kB / 1.439 GB, free: 79.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008758/2.23, allocations: 200.6 kB / 1.439 GB, free: 79.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001318/2.232, allocations: 0.5533 MB / 1.44 GB, free: 78.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007055/2.232, allocations: 422.3 kB / 1.44 GB, free: 78.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/2.232, allocations: 2.906 kB / 1.44 GB, free: 78.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/2.233, allocations: 210 kB / 1.44 GB, free: 78.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/2.233, allocations: 126.5 kB / 1.441 GB, free: 78.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009403/2.234, allocations: 0.5426 MB / 1.441 GB, free: 78.62 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/2.235, allocations: 0.8256 MB / 1.442 GB, free: 77.91 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/2.235, allocations: 0 / 1.442 GB, free: 77.91 MB / 394.7 MB Notification: Performance of Templates: time 0.0149/2.249, allocations: 9.428 MB / 1.451 GB, free: 77.28 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)