Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001034/0.001034, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001316/0.001316, allocations: 168.7 kB / 15.95 MB, free: 204 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.449/1.449, allocations: 205.4 MB / 222.1 MB, free: 5.625 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.0004867/0.0004868, allocations: 16 kB / 278.9 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2603, allocations: 47.59 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1499/0.4102, allocations: 130.5 MB / 457 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2181/0.6285, allocations: 1.615 MB / 458.6 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003511/0.6289, allocations: 5.312 kB / 458.6 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.6294, allocations: 134.9 kB / 458.8 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006053/0.63, allocations: 311.7 kB / 459.1 MB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009088/0.631, allocations: 332.1 kB / 459.4 MB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.6322, allocations: 1.065 MB / 460.5 MB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.6324, allocations: 78.73 kB / 460.5 MB, free: 2.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007372/0.6332, allocations: 346.6 kB / 460.9 MB, free: 2.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004915/0.6337, allocations: 318.7 kB / 461.2 MB, free: 2.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.6338, allocations: 17.59 kB / 461.2 MB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.6341, allocations: 84.27 kB / 461.3 MB, free: 2.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-05/0.6342, allocations: 75.7 kB / 461.4 MB, free: 2.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.164e-05/0.6343, allocations: 90.73 kB / 461.4 MB, free: 2.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.6346, allocations: 369.6 kB / 461.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6346, allocations: 0.8438 kB / 461.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6347, allocations: 0 / 461.8 MB, free: 2.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.6347, allocations: 0 / 461.8 MB, free: 2.074 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.0008255/0.6355, allocations: 0.5267 MB / 462.3 MB, free: 17.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.6355, allocations: 8.406 kB / 462.3 MB, free: 17.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.6358, allocations: 46.14 kB / 462.4 MB, free: 17.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.6362, allocations: 274.6 kB / 462.7 MB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.6362, allocations: 19.84 kB / 462.7 MB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.6363, allocations: 31.61 kB / 462.7 MB, free: 17.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.6367, allocations: 301 kB / 463 MB, free: 17.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.6368, allocations: 2.906 kB / 463 MB, free: 17.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.6368, allocations: 10.16 kB / 463 MB, free: 17.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.6368, allocations: 6.25 kB / 463 MB, free: 17.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003235/0.6371, allocations: 200.8 kB / 463.2 MB, free: 17.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.6388, allocations: 1.296 MB / 464.5 MB, free: 16.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.6391, allocations: 182.8 kB / 464.7 MB, free: 16.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.6392, allocations: 93.39 kB / 464.8 MB, free: 16.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.6394, allocations: 169 kB / 464.9 MB, free: 16.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.6394, allocations: 38.28 kB / 465 MB, free: 16.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.6394, allocations: 0 / 465 MB, free: 16.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002275/0.6417, allocations: 1.046 MB / 466 MB, free: 15.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.6418, allocations: 54.41 kB / 466.1 MB, free: 15.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.642, allocations: 260.5 kB / 466.3 MB, free: 15.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.642, allocations: 32.83 kB / 466.4 MB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.6422, allocations: 178.4 kB / 466.5 MB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.6422, allocations: 85.02 kB / 466.6 MB, free: 15.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.6422, allocations: 9.25 kB / 466.6 MB, free: 15.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6424, allocations: 342.8 kB / 467 MB, free: 14.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.6425, allocations: 84.55 kB / 467 MB, free: 14.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.6426, allocations: 183.4 kB / 467.2 MB, free: 14.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.6428, allocations: 114.4 kB / 467.3 MB, free: 14.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6428, allocations: 5.75 kB / 467.3 MB, free: 14.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005177/0.6433, allocations: 436 kB / 467.8 MB, free: 14.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.6434, allocations: 7.031 kB / 467.8 MB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6434, allocations: 5.781 kB / 467.8 MB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.6435, allocations: 48.19 kB / 467.8 MB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.6438, allocations: 78.22 kB / 467.9 MB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.6457, allocations: 2.582 MB / 470.5 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.6459, allocations: 20.41 kB / 470.5 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.6459, allocations: 14.81 kB / 470.5 MB, free: 12.11 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.000157/0.6461, allocations: 162 kB / 470.7 MB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.6461, allocations: 30.34 kB / 470.7 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.6466, allocations: 358.7 kB / 471.1 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6466, allocations: 7.266 kB / 471.1 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.6466, allocations: 0 / 471.1 MB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004865/0.6471, allocations: 0.6178 MB / 471.7 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008209/0.6479, allocations: 0.7507 MB / 472.4 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.648, allocations: 0 / 472.4 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.6482, allocations: 55.7 kB / 472.5 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.735e-05/0.6483, allocations: 23.33 kB / 472.5 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.6483, allocations: 11.48 kB / 472.5 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007228/0.649, allocations: 1.28 MB / 473.8 MB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.649, allocations: 2.906 kB / 473.8 MB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.6496, allocations: 0.5106 MB / 474.3 MB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.6497, allocations: 103.1 kB / 474.4 MB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.6497, allocations: 6.469 kB / 474.4 MB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.6499, allocations: 15.58 kB / 474.4 MB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.65, allocations: 25.2 kB / 474.5 MB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.65, allocations: 14.78 kB / 474.5 MB, free: 9.191 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.6502, allocations: 186.7 kB / 474.7 MB, free: 9.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6502, allocations: 0 / 474.7 MB, free: 9.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.6506, allocations: 106 kB / 474.8 MB, free: 9.109 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.0001924/0.6508, allocations: 132 kB / 474.9 MB, free: 9.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.6513, allocations: 445.4 kB / 475.3 MB, free: 8.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.6514, allocations: 6.062 kB / 475.3 MB, free: 8.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.6516, allocations: 222 kB / 475.6 MB, free: 8.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000847/0.6524, allocations: 151.1 kB / 475.7 MB, free: 8.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.6535, allocations: 0.8029 MB / 476.5 MB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.6538, allocations: 0.7648 MB / 477.3 MB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002844/0.6541, allocations: 58.88 kB / 477.3 MB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.6541, allocations: 30.81 kB / 477.4 MB, free: 7.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.6542, allocations: 0 / 477.4 MB, free: 7.5 MB / 398.1 MB Notification: Performance of Templates: time 0.009116/0.6633, allocations: 5.659 MB / 483 MB, free: 7.051 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)