Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.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.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1") [: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.002126/0.002126, allocations: 190.9 kB / 8.136 MB, free: 2.195 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.158/1.158, allocations: 194.2 MB / 202.8 MB, free: 8.676 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.001937/0.001937, allocations: 121.5 kB / 247.7 MB, free: 6.414 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.251e-06/6.592e-06, allocations: 0 / 297.6 MB, free: 8.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07304/0.07306, allocations: 44.49 MB / 342 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.648/7.721, allocations: 5.72 GB / 6.054 GB, free: 106.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/7.721, allocations: 67.41 kB / 6.054 GB, free: 106.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.11/10.83, allocations: 0.9996 GB / 7.053 GB, free: 3.719 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 2.349e-05/10.83, allocations: 11.94 kB / 7.053 GB, free: 3.707 MB / 0.5265 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.03479/10.87, allocations: 1.663 MB / 7.055 GB, free: 2.176 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/10.87, allocations: 12.03 kB / 7.055 GB, free: 2.164 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007371/10.87, allocations: 67.48 kB / 7.055 GB, free: 2.098 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/10.87, allocations: 318.5 kB / 7.055 GB, free: 1.762 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/10.87, allocations: 12 kB / 7.055 GB, free: 1.75 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/10.87, allocations: 23.94 kB / 7.055 GB, free: 1.727 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000568/10.87, allocations: 325.2 kB / 7.056 GB, free: 1.41 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/10.87, allocations: 378.6 kB / 7.056 GB, free: 1.004 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/10.87, allocations: 3.938 kB / 7.056 GB, free: 1 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/10.87, allocations: 7.906 kB / 7.056 GB, free: 0.9922 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/10.87, allocations: 8 kB / 7.056 GB, free: 0.9844 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007452/10.88, allocations: 5.63 MB / 7.062 GB, free: 11.06 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/10.88, allocations: 173.8 kB / 7.062 GB, free: 10.88 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/10.88, allocations: 105.4 kB / 7.062 GB, free: 10.78 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002294/10.88, allocations: 1.673 MB / 7.063 GB, free: 8.832 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/10.88, allocations: 34.56 kB / 7.063 GB, free: 8.789 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=28): time 2.384e-06/10.88, allocations: 7.938 kB / 7.063 GB, free: 8.781 MB / 0.5421 GB Notification: Performance of matching and sorting (n=32): time 0.005575/10.88, allocations: 1.115 MB / 7.065 GB, free: 7.621 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/10.88, allocations: 59.41 kB / 7.065 GB, free: 7.551 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/10.88, allocations: 207.8 kB / 7.065 GB, free: 7.34 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/10.88, allocations: 25.7 kB / 7.065 GB, free: 7.309 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/10.88, allocations: 185.8 kB / 7.065 GB, free: 7.137 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 8.364e-05/10.89, allocations: 112.5 kB / 7.065 GB, free: 7.039 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/10.89, allocations: 0 / 7.065 GB, free: 7.039 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001021/10.89, allocations: 334.8 kB / 7.065 GB, free: 6.703 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/10.89, allocations: 108.9 kB / 7.066 GB, free: 6.598 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/10.89, allocations: 213.2 kB / 7.066 GB, free: 6.344 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/10.89, allocations: 232 kB / 7.066 GB, free: 6.117 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/10.89, allocations: 3.938 kB / 7.066 GB, free: 6.113 MB / 0.5421 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002303/10.89, allocations: 0.544 MB / 7.066 GB, free: 5.559 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/10.89, allocations: 7.938 kB / 7.066 GB, free: 5.551 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/10.89, allocations: 8.422 kB / 7.067 GB, free: 5.543 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/10.89, allocations: 53.7 kB / 7.067 GB, free: 5.484 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/10.89, allocations: 91.83 kB / 7.067 GB, free: 5.395 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/10.89, allocations: 1.791 MB / 7.068 GB, free: 3.465 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/10.89, allocations: 26.05 kB / 7.068 GB, free: 3.441 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/10.89, allocations: 19.98 kB / 7.068 GB, free: 3.422 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001145/10.89, allocations: 117.9 kB / 7.069 GB, free: 3.305 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/10.89, allocations: 63.67 kB / 7.069 GB, free: 3.242 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/10.89, allocations: 0.7681 MB / 7.069 GB, free: 2.465 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/10.89, allocations: 11.98 kB / 7.069 GB, free: 2.453 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/10.89, allocations: 0 / 7.069 GB, free: 2.453 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/10.9, allocations: 0.8829 MB / 7.07 GB, free: 1.484 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/10.9, allocations: 1.146 MB / 7.071 GB, free: 296 kB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/10.9, allocations: 12.05 kB / 7.071 GB, free: 284 kB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/10.9, allocations: 55.91 kB / 7.071 GB, free: 228 kB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/10.9, allocations: 64.7 kB / 7.071 GB, free: 160 kB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/10.9, allocations: 12.05 kB / 7.071 GB, free: 148 kB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1777/11.08, allocations: 0.5942 MB / 7.072 GB, free: 88.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/11.08, allocations: 0 / 7.072 GB, free: 88.6 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001873/11.08, allocations: 0.8641 MB / 7.073 GB, free: 88.41 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/11.08, allocations: 120.5 kB / 7.073 GB, free: 88.32 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.508e-05/11.08, allocations: 3 kB / 7.073 GB, free: 88.32 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/11.08, allocations: 8.359 kB / 7.073 GB, free: 88.32 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/11.08, allocations: 26.78 kB / 7.073 GB, free: 88.32 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/11.08, allocations: 15.22 kB / 7.073 GB, free: 88.32 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.0001345/11.08, allocations: 166.1 kB / 7.073 GB, free: 88.25 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01269/11.09, allocations: 0.8645 MB / 7.074 GB, free: 88.25 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.1954/11.29, allocations: 36.68 MB / 7.11 GB, free: 69.57 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001097/11.29, allocations: 0.508 MB / 7.11 GB, free: 69.48 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/11.29, allocations: 0 / 7.11 GB, free: 69.48 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/11.29, allocations: 287.9 kB / 7.111 GB, free: 69.47 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/11.29, allocations: 134.2 kB / 7.111 GB, free: 69.47 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/11.29, allocations: 0.6554 MB / 7.111 GB, free: 69.29 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/11.29, allocations: 0.8518 MB / 7.112 GB, free: 68.58 MB / 0.5421 GB Notification: Performance of SimCode: time 3.7e-07/11.29, allocations: 0 / 7.112 GB, free: 68.58 MB / 0.5421 GB Notification: Performance of Templates: time 0.04107/11.33, allocations: 31.18 MB / 7.143 GB, free: 66.71 MB / 0.5421 GB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)