Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2") [: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.001457/0.001457, allocations: 188.7 kB / 8.133 MB, free: 2.215 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.08/1.08, allocations: 194.2 MB / 202.8 MB, free: 8.656 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.002307/0.002307, allocations: 109.3 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.681e-06/5.731e-06, allocations: 0 / 297.6 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07221/0.07224, allocations: 44.49 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.671/0.7433, allocations: 446.3 MB / 0.7699 GB, free: 73.76 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.7435, allocations: 67.97 kB / 0.7699 GB, free: 73.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.06054/0.8041, allocations: 29.18 MB / 0.7984 GB, free: 44.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.8041, allocations: 0 / 0.7984 GB, free: 44.51 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0002956/0.8044, allocations: 384.9 kB / 0.7988 GB, free: 44.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.8044, allocations: 12.03 kB / 0.7988 GB, free: 44.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.8063, allocations: 219.5 kB / 0.799 GB, free: 43.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.8065, allocations: 206.9 kB / 0.7992 GB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.8066, allocations: 7.906 kB / 0.7992 GB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.8066, allocations: 4 kB / 0.7992 GB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003126/0.8069, allocations: 144 kB / 0.7994 GB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.8071, allocations: 137.7 kB / 0.7995 GB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.8071, allocations: 0.6562 kB / 0.7995 GB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.8072, allocations: 0 / 0.7995 GB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.8072, allocations: 7.938 kB / 0.7995 GB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/0.8081, allocations: 0.5589 MB / 0.8001 GB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.8083, allocations: 118.5 kB / 0.8002 GB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.765e-05/0.8084, allocations: 56.86 kB / 0.8002 GB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.8085, allocations: 4 kB / 0.8002 GB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.8085, allocations: 39.05 kB / 0.8003 GB, free: 42.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.8085, allocations: 3.938 kB / 0.8003 GB, free: 42.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.003946/0.8124, allocations: 0.8719 MB / 0.8011 GB, free: 41.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.298e-05/0.8125, allocations: 51.41 kB / 0.8012 GB, free: 41.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.106e-05/0.8125, allocations: 101 kB / 0.8013 GB, free: 41.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.8126, allocations: 25.7 kB / 0.8013 GB, free: 41.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.8126, allocations: 103.9 kB / 0.8014 GB, free: 41.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.8126, allocations: 66.95 kB / 0.8015 GB, free: 41.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.8127, allocations: 0 / 0.8015 GB, free: 41.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.597e-05/0.8127, allocations: 322.8 kB / 0.8018 GB, free: 40.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.8128, allocations: 63.98 kB / 0.8018 GB, free: 40.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.8129, allocations: 87.61 kB / 0.8019 GB, free: 40.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.8131, allocations: 71.72 kB / 0.802 GB, free: 40.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8131, allocations: 4 kB / 0.802 GB, free: 40.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004074/0.8135, allocations: 228.7 kB / 0.8022 GB, free: 40.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.669e-06/0.8135, allocations: 4 kB / 0.8022 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8135, allocations: 0 / 0.8022 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.8136, allocations: 48.77 kB / 0.8023 GB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.814, allocations: 55.97 kB / 0.8023 GB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000321/0.8143, allocations: 0.5757 MB / 0.8029 GB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.8146, allocations: 4.031 kB / 0.8029 GB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.8146, allocations: 23.91 kB / 0.8029 GB, free: 39.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 7.871e-05/0.8147, allocations: 125.8 kB / 0.803 GB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.8148, allocations: 11.91 kB / 0.803 GB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008864/0.8156, allocations: 360.2 kB / 0.8034 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.8157, allocations: 4 kB / 0.8034 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.8157, allocations: 3.984 kB / 0.8034 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8157, allocations: 0 / 0.8034 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007335/0.8164, allocations: 0.5463 MB / 0.8039 GB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.8164, allocations: 4.031 kB / 0.8039 GB, free: 38.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.8168, allocations: 63.89 kB / 0.804 GB, free: 38.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.694e-05/0.8169, allocations: 24.75 kB / 0.804 GB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.817, allocations: 11.98 kB / 0.804 GB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005718/0.8175, allocations: 1.209 MB / 0.8052 GB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.8175, allocations: 3.938 kB / 0.8052 GB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004906/0.818, allocations: 441.7 kB / 0.8056 GB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.8181, allocations: 89 kB / 0.8057 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.8181, allocations: 0 / 0.8057 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.8184, allocations: 7.906 kB / 0.8057 GB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.8185, allocations: 28.03 kB / 0.8057 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.8185, allocations: 23.98 kB / 0.8058 GB, free: 36.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.754e-05/0.8185, allocations: 87.28 kB / 0.8058 GB, free: 36.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000451/0.819, allocations: 99.98 kB / 0.8059 GB, free: 36.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006988/0.8197, allocations: 0.6243 MB / 0.8066 GB, free: 35.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.8201, allocations: 176.2 kB / 0.8067 GB, free: 35.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8201, allocations: 3.938 kB / 0.8067 GB, free: 35.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.8203, allocations: 213.7 kB / 0.8069 GB, free: 35.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.8207, allocations: 36.62 kB / 0.807 GB, free: 35.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.8213, allocations: 325.2 kB / 0.8073 GB, free: 34.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.8217, allocations: 0.7862 MB / 0.808 GB, free: 34.05 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.8217, allocations: 0 / 0.808 GB, free: 34.05 MB / 410.7 MB Notification: Performance of Templates: time 0.01148/0.8332, allocations: 8.423 MB / 0.8163 GB, free: 25.63 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)