Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004681, allocations: 12 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2423, allocations: 47.59 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1564/0.3988, allocations: 130.5 MB / 457 MB, free: 0.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2662/0.6651, allocations: 1.624 MB / 458.6 MB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004377/0.6656, allocations: 5.688 kB / 458.6 MB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006855/0.6663, allocations: 141.7 kB / 458.8 MB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007638/0.667, allocations: 305.1 kB / 459.1 MB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.6681, allocations: 328.9 kB / 459.4 MB, free: 2.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.6697, allocations: 1.07 MB / 460.5 MB, free: 2.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.6699, allocations: 73.11 kB / 460.5 MB, free: 2.199 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007937/0.6707, allocations: 346 kB / 460.9 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005036/0.6712, allocations: 318.2 kB / 461.2 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.6713, allocations: 14.97 kB / 461.2 MB, free: 2.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.6716, allocations: 81.3 kB / 461.3 MB, free: 2.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.6717, allocations: 83.77 kB / 461.4 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.6719, allocations: 89.61 kB / 461.4 MB, free: 2.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.6723, allocations: 368 kB / 461.8 MB, free: 2.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.6723, allocations: 0 / 461.8 MB, free: 2.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6723, allocations: 0.75 kB / 461.8 MB, free: 2.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.6723, allocations: 0 / 461.8 MB, free: 2.133 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000982/0.6733, allocations: 0.5272 MB / 462.3 MB, free: 17.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.6734, allocations: 13.97 kB / 462.3 MB, free: 17.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003695/0.6737, allocations: 39.53 kB / 462.4 MB, free: 17.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.6741, allocations: 276.3 kB / 462.6 MB, free: 17.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.6742, allocations: 19.75 kB / 462.7 MB, free: 17.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.6742, allocations: 30.67 kB / 462.7 MB, free: 17.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.6748, allocations: 299 kB / 463 MB, free: 17.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.6748, allocations: 5.969 kB / 463 MB, free: 17.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.6748, allocations: 10.84 kB / 463 MB, free: 17.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.6749, allocations: 6.125 kB / 463 MB, free: 17.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.6752, allocations: 205 kB / 463.2 MB, free: 17.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.677, allocations: 1.288 MB / 464.5 MB, free: 16.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/0.6774, allocations: 190.8 kB / 464.7 MB, free: 16.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.6776, allocations: 99.72 kB / 464.8 MB, free: 16.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.6777, allocations: 169.2 kB / 464.9 MB, free: 16.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.6778, allocations: 38.25 kB / 465 MB, free: 16.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.6778, allocations: 0 / 465 MB, free: 16.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002271/0.6801, allocations: 1.043 MB / 466 MB, free: 15.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.6801, allocations: 54.34 kB / 466.1 MB, free: 15.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.6804, allocations: 257 kB / 466.3 MB, free: 15.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.6804, allocations: 36.58 kB / 466.4 MB, free: 15.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.6805, allocations: 177.8 kB / 466.5 MB, free: 15.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.6806, allocations: 89.16 kB / 466.6 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/0.6806, allocations: 8.25 kB / 466.6 MB, free: 15.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6808, allocations: 338.8 kB / 467 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.6809, allocations: 81.53 kB / 467 MB, free: 15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.6811, allocations: 183.7 kB / 467.2 MB, free: 14.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.6812, allocations: 110.5 kB / 467.3 MB, free: 14.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.6813, allocations: 2.562 kB / 467.3 MB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005899/0.6819, allocations: 447.6 kB / 467.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.6819, allocations: 8.625 kB / 467.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6819, allocations: 2.938 kB / 467.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.682, allocations: 37.34 kB / 467.8 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.6824, allocations: 80.59 kB / 467.9 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.6842, allocations: 2.574 MB / 470.5 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.6845, allocations: 24.91 kB / 470.5 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.6845, allocations: 11.28 kB / 470.5 MB, free: 12.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.6847, allocations: 151.7 kB / 470.7 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.6848, allocations: 33.28 kB / 470.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.6853, allocations: 363.9 kB / 471 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.6853, allocations: 6.859 kB / 471.1 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6853, allocations: 3 kB / 471.1 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005323/0.6859, allocations: 0.6111 MB / 471.7 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009312/0.6868, allocations: 0.7572 MB / 472.4 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6868, allocations: 5.094 kB / 472.4 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.6871, allocations: 54.62 kB / 472.5 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.141e-05/0.6872, allocations: 26.41 kB / 472.5 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.6872, allocations: 5.531 kB / 472.5 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009617/0.6882, allocations: 1.28 MB / 473.8 MB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6882, allocations: 0 / 473.8 MB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006351/0.6888, allocations: 0.5216 MB / 474.3 MB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.6889, allocations: 95.27 kB / 474.4 MB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.689, allocations: 8.016 kB / 474.4 MB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.6892, allocations: 14.47 kB / 474.4 MB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.6893, allocations: 35.42 kB / 474.5 MB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.6893, allocations: 14.83 kB / 474.5 MB, free: 9.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.6895, allocations: 180.2 kB / 474.7 MB, free: 9.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6895, allocations: 0 / 474.7 MB, free: 9.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004905/0.69, allocations: 103.5 kB / 474.8 MB, free: 9.172 MB / 398.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.0002441/0.6902, allocations: 133 kB / 474.9 MB, free: 9.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006351/0.6909, allocations: 440.9 kB / 475.3 MB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6909, allocations: 3 kB / 475.3 MB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.6911, allocations: 218.7 kB / 475.5 MB, free: 8.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009395/0.6921, allocations: 154.4 kB / 475.7 MB, free: 8.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.6933, allocations: 0.8061 MB / 476.5 MB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.6938, allocations: 0.7719 MB / 477.3 MB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002957/0.6941, allocations: 60.55 kB / 477.3 MB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.6942, allocations: 30.14 kB / 477.4 MB, free: 7.562 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.6942, allocations: 1.75 kB / 477.4 MB, free: 7.562 MB / 398.1 MB Notification: Performance of Templates: time 0.01009/0.7043, allocations: 5.655 MB / 483 MB, free: 7.113 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)