Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001136/0.001136, allocations: 188.5 kB / 8.353 MB, free: 0.707 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.706/1.706, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001631/0.001632, allocations: 114.2 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.014e-05, allocations: 4 kB / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 44.48 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.186, allocations: 333.2 MB / 0.6599 GB, free: 134 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/1.187, allocations: 83.75 kB / 0.66 GB, free: 134 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1734/1.36, allocations: 86.81 MB / 0.7448 GB, free: 70.39 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.663e-06/1.36, allocations: 0 / 0.7448 GB, free: 70.39 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.762e-05/1.36, allocations: 4 kB / 0.7448 GB, free: 70.38 MB / 395.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.0008801/1.361, allocations: 0.5297 MB / 0.7453 GB, free: 69.81 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.361, allocations: 15.97 kB / 0.7453 GB, free: 69.8 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/1.362, allocations: 39.7 kB / 0.7454 GB, free: 69.76 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/1.362, allocations: 286.1 kB / 0.7456 GB, free: 69.44 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/1.362, allocations: 8 kB / 0.7457 GB, free: 69.43 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/1.362, allocations: 12 kB / 0.7457 GB, free: 69.42 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003264/1.362, allocations: 181.1 kB / 0.7458 GB, free: 69.25 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/1.363, allocations: 252.3 kB / 0.7461 GB, free: 68.98 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/1.363, allocations: 4 kB / 0.7461 GB, free: 68.98 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/1.363, allocations: 0 / 0.7461 GB, free: 68.98 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/1.363, allocations: 8 kB / 0.7461 GB, free: 68.97 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/1.364, allocations: 1.222 MB / 0.7473 GB, free: 67.63 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/1.365, allocations: 171 kB / 0.7474 GB, free: 67.45 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/1.365, allocations: 81.23 kB / 0.7475 GB, free: 67.37 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/1.365, allocations: 174.4 kB / 0.7477 GB, free: 67.16 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/1.365, allocations: 38.75 kB / 0.7477 GB, free: 67.12 MB / 395.1 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/1.365, allocations: 3.984 kB / 0.7477 GB, free: 67.11 MB / 395.1 MB Notification: Performance of matching and sorting (n=26): time 0.001795/1.367, allocations: 0.793 MB / 0.7485 GB, free: 66.25 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/1.367, allocations: 51.41 kB / 0.7486 GB, free: 66.18 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/1.367, allocations: 199.1 kB / 0.7487 GB, free: 65.98 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/1.367, allocations: 29.7 kB / 0.7488 GB, free: 65.95 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/1.367, allocations: 183.8 kB / 0.7489 GB, free: 65.76 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/1.367, allocations: 86.66 kB / 0.749 GB, free: 65.68 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/1.367, allocations: 0 / 0.749 GB, free: 65.68 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 6.362e-05/1.367, allocations: 338.8 kB / 0.7494 GB, free: 65.34 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/1.367, allocations: 68 kB / 0.7494 GB, free: 65.27 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/1.368, allocations: 165.3 kB / 0.7496 GB, free: 65.07 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/1.368, allocations: 101.1 kB / 0.7497 GB, free: 64.97 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.368, allocations: 0 / 0.7497 GB, free: 64.97 MB / 395.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005205/1.368, allocations: 412.5 kB / 0.7501 GB, free: 64.54 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.368, allocations: 4 kB / 0.7501 GB, free: 64.53 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.368, allocations: 4 kB / 0.7501 GB, free: 64.53 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001646/1.368, allocations: 41.7 kB / 0.7501 GB, free: 64.48 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/1.369, allocations: 76.06 kB / 0.7502 GB, free: 64.41 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/1.37, allocations: 2.461 MB / 0.7526 GB, free: 61.72 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/1.37, allocations: 16.14 kB / 0.7526 GB, free: 61.7 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/1.37, allocations: 12 kB / 0.7526 GB, free: 61.69 MB / 395.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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 () * 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.0001483/1.37, allocations: 121.4 kB / 0.7527 GB, free: 61.57 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/1.371, allocations: 27.67 kB / 0.7528 GB, free: 61.54 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/1.371, allocations: 334.6 kB / 0.7531 GB, free: 61.18 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.371, allocations: 4 kB / 0.7531 GB, free: 61.18 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/1.371, allocations: 0 / 0.7531 GB, free: 61.18 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003764/1.371, allocations: 0.5992 MB / 0.7537 GB, free: 60.47 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007479/1.372, allocations: 0.6967 MB / 0.7543 GB, free: 59.71 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.372, allocations: 4 kB / 0.7543 GB, free: 59.7 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/1.372, allocations: 55.95 kB / 0.7544 GB, free: 59.65 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.589e-05/1.373, allocations: 24.78 kB / 0.7544 GB, free: 59.62 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/1.373, allocations: 0 / 0.7544 GB, free: 59.62 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005433/1.373, allocations: 1.233 MB / 0.7556 GB, free: 58.27 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.373, allocations: 0 / 0.7556 GB, free: 58.27 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005083/1.374, allocations: 0.4891 MB / 0.7561 GB, free: 57.74 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/1.374, allocations: 100.8 kB / 0.7562 GB, free: 57.62 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/1.374, allocations: 3.984 kB / 0.7562 GB, free: 57.62 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/1.374, allocations: 8.062 kB / 0.7562 GB, free: 57.61 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/1.374, allocations: 23.97 kB / 0.7562 GB, free: 57.59 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/1.374, allocations: 11.98 kB / 0.7562 GB, free: 57.57 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001014/1.374, allocations: 153.6 kB / 0.7564 GB, free: 57.43 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.374, allocations: 0 / 0.7564 GB, free: 57.43 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004981/1.375, allocations: 107.9 kB / 0.7565 GB, free: 57.32 MB / 395.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 () * 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.0003685/1.375, allocations: 255.6 kB / 0.7567 GB, free: 57.06 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0004698/1.376, allocations: 411.4 kB / 0.7571 GB, free: 56.64 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.376, allocations: 0.8125 kB / 0.7571 GB, free: 56.64 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/1.376, allocations: 213.6 kB / 0.7573 GB, free: 56.42 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006868/1.376, allocations: 123.7 kB / 0.7575 GB, free: 56.3 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007135/1.377, allocations: 464 kB / 0.7579 GB, free: 55.82 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/1.377, allocations: 0.7678 MB / 0.7586 GB, free: 55.03 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0002895/1.378, allocations: 59.2 kB / 0.7587 GB, free: 54.97 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/1.378, allocations: 27.42 kB / 0.7587 GB, free: 54.95 MB / 395.1 MB Notification: Performance of SimCode: time 2.6e-07/1.378, allocations: 4 kB / 0.7587 GB, free: 54.94 MB / 395.1 MB Notification: Performance of Templates: time 0.009478/1.387, allocations: 5.822 MB / 0.7644 GB, free: 49.14 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)