Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001175/0.001175, allocations: 179.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.224/1.224, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001607/0.001607, allocations: 120.5 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 8 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08218/0.08256, allocations: 44.49 MB / 355.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.085/6.168, allocations: 3.617 GB / 3.964 GB, free: 143.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/6.168, allocations: 93.81 kB / 3.964 GB, free: 143.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8789/7.047, allocations: 322.4 MB / 4.279 GB, free: 8.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.685e-06/7.047, allocations: 4 kB / 4.279 GB, free: 8.465 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.487e-05/7.047, allocations: 8 kB / 4.279 GB, free: 8.457 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004827/7.052, allocations: 1.589 MB / 4.28 GB, free: 6.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/7.052, allocations: 12.03 kB / 4.28 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/7.052, allocations: 55.52 kB / 4.28 GB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/7.053, allocations: 355.8 kB / 4.281 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/7.053, allocations: 33 kB / 4.281 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/7.053, allocations: 44 kB / 4.281 GB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007306/7.054, allocations: 0.4983 MB / 4.281 GB, free: 5.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/7.054, allocations: 4 kB / 4.281 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.365e-05/7.054, allocations: 16 kB / 4.281 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/7.054, allocations: 12 kB / 4.281 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007417/7.054, allocations: 0.5895 MB / 4.282 GB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/7.057, allocations: 2.187 MB / 4.284 GB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009231/7.058, allocations: 0.5603 MB / 4.284 GB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004099/7.058, allocations: 0.697 MB / 4.285 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/7.058, allocations: 39 kB / 4.285 GB, free: 1.305 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 1.693e-06/7.058, allocations: 0 / 4.285 GB, free: 1.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.257/7.315, allocations: 4.112 MB / 4.289 GB, free: 55.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/7.315, allocations: 65.02 kB / 4.289 GB, free: 55.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/7.316, allocations: 262.2 kB / 4.289 GB, free: 55.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/7.316, allocations: 39.64 kB / 4.289 GB, free: 55.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/7.316, allocations: 191 kB / 4.29 GB, free: 55.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/7.316, allocations: 231.8 kB / 4.29 GB, free: 55.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/7.316, allocations: 13.78 kB / 4.29 GB, free: 55.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.379e-05/7.316, allocations: 349 kB / 4.29 GB, free: 54.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/7.317, allocations: 315.4 kB / 4.291 GB, free: 54.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005984/7.317, allocations: 387.1 kB / 4.291 GB, free: 54.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/7.318, allocations: 354.3 kB / 4.291 GB, free: 54.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/7.318, allocations: 1.219 kB / 4.291 GB, free: 54.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002141/7.32, allocations: 1.007 MB / 4.292 GB, free: 54.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/7.32, allocations: 3.969 kB / 4.292 GB, free: 54.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/7.32, allocations: 0 / 4.292 GB, free: 54.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/7.322, allocations: 362.4 kB / 4.293 GB, free: 54.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/7.322, allocations: 117.4 kB / 4.293 GB, free: 54.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/7.325, allocations: 3.536 MB / 4.296 GB, free: 51.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006412/7.326, allocations: 62.44 kB / 4.296 GB, free: 51.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/7.326, allocations: 32.23 kB / 4.296 GB, free: 51.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003169/7.326, allocations: 193.7 kB / 4.296 GB, free: 51.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/7.326, allocations: 44.06 kB / 4.296 GB, free: 51.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/7.33, allocations: 1.381 MB / 4.298 GB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/7.33, allocations: 6.781 kB / 4.298 GB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/7.33, allocations: 0 / 4.298 GB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003606/7.334, allocations: 1.428 MB / 4.299 GB, free: 50.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/7.337, allocations: 1.72 MB / 4.301 GB, free: 50.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/7.337, allocations: 1.203 kB / 4.301 GB, free: 50.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004952/7.337, allocations: 115.5 kB / 4.301 GB, free: 50.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/7.339, allocations: 402.7 kB / 4.301 GB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/7.339, allocations: 25.92 kB / 4.301 GB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/7.34, allocations: 0.8855 MB / 4.302 GB, free: 50.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/7.34, allocations: 0 / 4.302 GB, free: 50.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00389/7.344, allocations: 1.69 MB / 4.304 GB, free: 49.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/7.344, allocations: 128.1 kB / 4.304 GB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/7.344, allocations: 18.86 kB / 4.304 GB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/7.345, allocations: 60.02 kB / 4.304 GB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/7.345, allocations: 47 kB / 4.304 GB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/7.345, allocations: 32.34 kB / 4.304 GB, free: 49.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002011/7.345, allocations: 226.6 kB / 4.304 GB, free: 49.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/7.345, allocations: 0 / 4.304 GB, free: 49.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002049/7.347, allocations: 0.5343 MB / 4.305 GB, free: 49.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (62): * Single equations (assignments): 61 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002175/7.35, allocations: 1.195 MB / 4.306 GB, free: 49.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001795/7.351, allocations: 1.003 MB / 4.307 GB, free: 49.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/7.351, allocations: 2.844 kB / 4.307 GB, free: 49.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007387/7.352, allocations: 423.7 kB / 4.307 GB, free: 49.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/7.353, allocations: 285.5 kB / 4.308 GB, free: 49.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/7.356, allocations: 1.542 MB / 4.309 GB, free: 48.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/7.356, allocations: 0.8603 MB / 4.31 GB, free: 48.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005218/7.357, allocations: 134.9 kB / 4.31 GB, free: 48.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/7.357, allocations: 53.81 kB / 4.31 GB, free: 48.09 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/7.357, allocations: 0 / 4.31 GB, free: 48.09 MB / 410.7 MB Notification: Performance of Templates: time 0.04238/7.399, allocations: 29.55 MB / 4.339 GB, free: 46.97 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)