Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [: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 trunk/package.mo): time 0.00135/0.00135, allocations: 195.9 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 96.53 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 45.15 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.819e-06/9.858e-06, allocations: 4 kB / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1515, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.572/1.723, allocations: 0.5103 GB / 1.014 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000393/1.724, allocations: 87.95 kB / 1.014 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.8008/2.525, allocations: 203 MB / 1.212 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.942e-05/2.525, allocations: 19.72 kB / 1.212 GB, free: 115.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00332/2.528, allocations: 1.046 MB / 1.213 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/2.528, allocations: 7.688 kB / 1.213 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/2.529, allocations: 134.6 kB / 1.214 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/2.531, allocations: 0.5476 MB / 1.214 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/2.531, allocations: 83.88 kB / 1.214 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/2.531, allocations: 35.03 kB / 1.214 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001073/2.532, allocations: 0.5399 MB / 1.215 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/2.534, allocations: 0.7421 MB / 1.216 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/2.534, allocations: 3.844 kB / 1.216 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.565e-05/2.534, allocations: 3.438 kB / 1.216 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/2.534, allocations: 44.2 kB / 1.216 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/2.539, allocations: 4.122 MB / 1.22 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/2.539, allocations: 197.9 kB / 1.22 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/2.539, allocations: 134.7 kB / 1.22 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.22e-05/2.539, allocations: 91.22 kB / 1.22 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/2.539, allocations: 41.95 kB / 1.22 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/2.539, allocations: 2.156 kB / 1.22 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.005448/2.545, allocations: 1.388 MB / 1.221 GB, free: 111 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/2.545, allocations: 132.4 kB / 1.222 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007655/2.546, allocations: 471.6 kB / 1.222 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/2.546, allocations: 25.7 kB / 1.222 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/2.546, allocations: 339.5 kB / 1.222 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/2.546, allocations: 117 kB / 1.222 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/2.546, allocations: 3.25 kB / 1.222 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001609/2.546, allocations: 370.6 kB / 1.223 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/2.547, allocations: 184.6 kB / 1.223 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005126/2.547, allocations: 498.9 kB / 1.223 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/2.548, allocations: 317.2 kB / 1.224 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/2.548, allocations: 3 kB / 1.224 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001705/2.55, allocations: 0.8071 MB / 1.225 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/2.55, allocations: 3.938 kB / 1.225 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/2.55, allocations: 7.781 kB / 1.225 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/2.551, allocations: 279.4 kB / 1.225 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/2.552, allocations: 126.8 kB / 1.225 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/2.553, allocations: 0.965 MB / 1.226 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/2.554, allocations: 37.42 kB / 1.226 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/2.554, allocations: 60.66 kB / 1.226 GB, free: 109.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002157/2.554, allocations: 141.8 kB / 1.226 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/2.554, allocations: 57.72 kB / 1.226 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/2.556, allocations: 0.7401 MB / 1.227 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/2.556, allocations: 3.906 kB / 1.227 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/2.556, allocations: 0 / 1.227 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/2.556, allocations: 0 / 1.227 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/2.557, allocations: 0.9872 MB / 1.228 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/2.557, allocations: 0 / 1.228 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/2.558, allocations: 190.5 kB / 1.228 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.941e-05/2.558, allocations: 25.5 kB / 1.228 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/2.559, allocations: 6.875 kB / 1.228 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/2.56, allocations: 2.585 MB / 1.231 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.56, allocations: 0 / 1.231 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009603/2.561, allocations: 0.69 MB / 1.231 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/2.561, allocations: 174.5 kB / 1.231 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/2.562, allocations: 6.688 kB / 1.231 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/2.562, allocations: 26.2 kB / 1.231 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/2.562, allocations: 28.41 kB / 1.231 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/2.562, allocations: 37.03 kB / 1.232 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004206/2.563, allocations: 343.5 kB / 1.232 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0014/2.564, allocations: 302.6 kB / 1.232 GB, free: 105.7 MB / 0.5261 GB 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002095/2.566, allocations: 1.082 MB / 1.233 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001103/2.567, allocations: 493.6 kB / 1.234 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/2.567, allocations: 3.969 kB / 1.234 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/2.568, allocations: 403.4 kB / 1.234 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/2.57, allocations: 231 kB / 1.234 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/2.572, allocations: 0.8819 MB / 1.235 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/2.573, allocations: 1.085 MB / 1.236 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/2.573, allocations: 0 / 1.236 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.03643/2.609, allocations: 18.84 MB / 1.255 GB, free: 103.3 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)