Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir") [: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.003156/0.003156, allocations: 182.6 kB / 7.457 MB, free: 2.504 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.466/1.466, allocations: 194.2 MB / 202.1 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.001725/0.001725, allocations: 119.7 kB / 247.1 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2107/0.2107, allocations: 39.94 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.364e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.728/1.865, allocations: 0.7334 GB / 1.171 GB, free: 33.69 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/1.865, allocations: 71.97 kB / 1.171 GB, free: 33.62 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Media.mo:684:27-684:37:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 0.3154/2.18, allocations: 38.94 MB / 1.209 GB, free: 156.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.79e-05/2.18, allocations: 9.5 kB / 1.209 GB, free: 156.5 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009256/2.181, allocations: 0.4999 MB / 1.209 GB, free: 156.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/2.181, allocations: 13.69 kB / 1.209 GB, free: 156.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003056/2.184, allocations: 432.6 kB / 1.21 GB, free: 156.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/2.185, allocations: 258.6 kB / 1.21 GB, free: 155.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/2.185, allocations: 9.281 kB / 1.21 GB, free: 155.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.612e-05/2.185, allocations: 14.47 kB / 1.21 GB, free: 155.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007721/2.186, allocations: 474.7 kB / 1.21 GB, free: 155.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/2.186, allocations: 315.9 kB / 1.211 GB, free: 155.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/2.186, allocations: 3.438 kB / 1.211 GB, free: 155.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/2.186, allocations: 0 / 1.211 GB, free: 155.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/2.186, allocations: 8.125 kB / 1.211 GB, free: 155.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/2.188, allocations: 0.9496 MB / 1.212 GB, free: 155.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/2.189, allocations: 234.4 kB / 1.212 GB, free: 155.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/2.189, allocations: 129.7 kB / 1.212 GB, free: 155.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/2.19, allocations: 0.6545 MB / 1.213 GB, free: 154.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/2.19, allocations: 45.72 kB / 1.213 GB, free: 154.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/2.19, allocations: 0 / 1.213 GB, free: 154.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006452/2.191, allocations: 267 kB / 1.213 GB, free: 154.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/2.191, allocations: 80.27 kB / 1.213 GB, free: 154.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.228e-05/2.191, allocations: 107.4 kB / 1.213 GB, free: 154.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/2.191, allocations: 28.39 kB / 1.213 GB, free: 154.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/2.191, allocations: 109 kB / 1.213 GB, free: 154.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/2.191, allocations: 105.2 kB / 1.213 GB, free: 154.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/2.191, allocations: 0 / 1.213 GB, free: 154.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/2.191, allocations: 325.7 kB / 1.214 GB, free: 154.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/2.191, allocations: 102.4 kB / 1.214 GB, free: 154 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/2.191, allocations: 177.3 kB / 1.214 GB, free: 154 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/2.192, allocations: 125.8 kB / 1.214 GB, free: 154 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/2.192, allocations: 3.062 kB / 1.214 GB, free: 154 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005571/2.192, allocations: 335.6 kB / 1.214 GB, free: 153.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/2.192, allocations: 5.156 kB / 1.214 GB, free: 153.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/2.192, allocations: 3.969 kB / 1.214 GB, free: 153.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/2.192, allocations: 3.656 kB / 1.214 GB, free: 153.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/2.193, allocations: 82.78 kB / 1.214 GB, free: 153.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/2.193, allocations: 7.281 kB / 1.214 GB, free: 153.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/2.193, allocations: 26.73 kB / 1.214 GB, free: 153.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/2.193, allocations: 22.39 kB / 1.214 GB, free: 153.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/2.193, allocations: 107.5 kB / 1.215 GB, free: 153.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/2.193, allocations: 23.31 kB / 1.215 GB, free: 153.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007614/2.194, allocations: 357 kB / 1.215 GB, free: 153.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/2.194, allocations: 6.875 kB / 1.215 GB, free: 153.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/2.194, allocations: 2.75 kB / 1.215 GB, free: 153.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/2.194, allocations: 3.375 kB / 1.215 GB, free: 153.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/2.195, allocations: 318.2 kB / 1.215 GB, free: 153.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/2.195, allocations: 2.906 kB / 1.215 GB, free: 153.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/2.195, allocations: 55.98 kB / 1.215 GB, free: 153.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/2.195, allocations: 0 / 1.215 GB, free: 153.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/2.195, allocations: 11.64 kB / 1.215 GB, free: 153.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/2.195, allocations: 0 / 1.215 GB, free: 153.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/2.195, allocations: 6.562 kB / 1.215 GB, free: 153.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006473/2.196, allocations: 0.5167 MB / 1.216 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/2.196, allocations: 102.3 kB / 1.216 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/2.196, allocations: 0 / 1.216 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/2.196, allocations: 11.72 kB / 1.216 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/2.196, allocations: 21.14 kB / 1.216 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/2.196, allocations: 18.83 kB / 1.216 GB, free: 153.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.421e-05/2.196, allocations: 91.12 kB / 1.216 GB, free: 153.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00107/2.197, allocations: 259.9 kB / 1.216 GB, free: 153.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001451/2.199, allocations: 0.8482 MB / 1.217 GB, free: 152.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004188/2.199, allocations: 259.3 kB / 1.217 GB, free: 152.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/2.199, allocations: 5.594 kB / 1.217 GB, free: 152.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/2.199, allocations: 135.3 kB / 1.217 GB, free: 152.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/2.2, allocations: 72.92 kB / 1.218 GB, free: 152.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009838/2.201, allocations: 0.5818 MB / 1.218 GB, free: 152.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/2.201, allocations: 0.7826 MB / 1.219 GB, free: 152 MB / 474.7 MB Notification: Performance of SimCode: time 3.11e-07/2.201, allocations: 0 / 1.219 GB, free: 152 MB / 474.7 MB Notification: Performance of Templates: time 0.01748/2.219, allocations: 11.79 MB / 1.23 GB, free: 150.9 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1)