Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001261/0.001261, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.712/1.712, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001762/0.001762, allocations: 103.5 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.024e-05/5.028e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.09562, allocations: 38.78 MB / 307.7 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.066/8.162, allocations: 3.611 GB / 3.912 GB, free: 47.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/8.162, allocations: 87.94 kB / 3.912 GB, free: 47.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.032/9.194, allocations: 319.1 MB / 4.223 GB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/9.194, allocations: 4 kB / 4.223 GB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/9.194, allocations: 11.98 kB / 4.223 GB, free: 15.04 MB / 362.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.004115/9.198, allocations: 1.545 MB / 4.225 GB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/9.198, allocations: 8.031 kB / 4.225 GB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/9.199, allocations: 60.28 kB / 4.225 GB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/9.199, allocations: 368.2 kB / 4.225 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/9.199, allocations: 33 kB / 4.225 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/9.199, allocations: 44 kB / 4.225 GB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007047/9.2, allocations: 490.4 kB / 4.226 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/9.2, allocations: 3.562 kB / 4.226 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/9.2, allocations: 24 kB / 4.226 GB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/9.2, allocations: 8 kB / 4.226 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/9.201, allocations: 0.5856 MB / 4.226 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/9.203, allocations: 1.996 MB / 4.228 GB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009959/9.204, allocations: 0.5593 MB / 4.229 GB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/9.205, allocations: 250.5 kB / 4.229 GB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004868/9.205, allocations: 0.7048 MB / 4.23 GB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/9.205, allocations: 39 kB / 4.23 GB, free: 7.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 1.824e-06/9.205, allocations: 3.938 kB / 4.23 GB, free: 7.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.0116/9.217, allocations: 3.354 MB / 4.233 GB, free: 4.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/9.217, allocations: 63.97 kB / 4.233 GB, free: 4.418 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/9.217, allocations: 259.1 kB / 4.233 GB, free: 4.164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/9.217, allocations: 41.7 kB / 4.233 GB, free: 4.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/9.217, allocations: 193.1 kB / 4.234 GB, free: 3.922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/9.217, allocations: 224.7 kB / 4.234 GB, free: 3.699 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/9.217, allocations: 15.38 kB / 4.234 GB, free: 3.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.558e-05/9.218, allocations: 350.8 kB / 4.234 GB, free: 3.336 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/9.218, allocations: 269.4 kB / 4.234 GB, free: 3.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/9.218, allocations: 345.7 kB / 4.235 GB, free: 2.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/9.219, allocations: 314 kB / 4.235 GB, free: 2.406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/9.219, allocations: 0 / 4.235 GB, free: 2.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001404/9.22, allocations: 0.8964 MB / 4.236 GB, free: 1.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/9.22, allocations: 7.938 kB / 4.236 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/9.22, allocations: 4 kB / 4.236 GB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009804/9.221, allocations: 274.5 kB / 4.236 GB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/9.222, allocations: 115.8 kB / 4.236 GB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1967/9.418, allocations: 3.41 MB / 4.24 GB, free: 41.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/9.419, allocations: 62.05 kB / 4.24 GB, free: 41.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/9.419, allocations: 26.17 kB / 4.24 GB, free: 41.22 MB / 362.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 () * 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.0001843/9.419, allocations: 134.9 kB / 4.24 GB, free: 41.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/9.42, allocations: 43.81 kB / 4.24 GB, free: 41.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/9.424, allocations: 1.266 MB / 4.241 GB, free: 41.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/9.424, allocations: 6.156 kB / 4.241 GB, free: 41.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/9.424, allocations: 14.61 kB / 4.241 GB, free: 41.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003328/9.427, allocations: 1.291 MB / 4.242 GB, free: 40.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/9.429, allocations: 1.599 MB / 4.244 GB, free: 40.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/9.429, allocations: 1.375 kB / 4.244 GB, free: 40.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/9.43, allocations: 113.8 kB / 4.244 GB, free: 40.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/9.431, allocations: 315.3 kB / 4.244 GB, free: 40.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/9.431, allocations: 22.3 kB / 4.244 GB, free: 40.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006243/9.432, allocations: 0.773 MB / 4.245 GB, free: 39.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/9.432, allocations: 1.219 kB / 4.245 GB, free: 39.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00368/9.436, allocations: 1.527 MB / 4.247 GB, free: 39.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/9.436, allocations: 126.7 kB / 4.247 GB, free: 39.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/9.436, allocations: 24.8 kB / 4.247 GB, free: 39.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/9.437, allocations: 53.91 kB / 4.247 GB, free: 39.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/9.437, allocations: 47.55 kB / 4.247 GB, free: 39.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/9.437, allocations: 28.72 kB / 4.247 GB, free: 39.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002144/9.437, allocations: 222.5 kB / 4.247 GB, free: 39.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/9.437, allocations: 0 / 4.247 GB, free: 39.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001779/9.439, allocations: 0.5392 MB / 4.248 GB, free: 39.41 MB / 362.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 () * 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.002142/9.441, allocations: 1.192 MB / 4.249 GB, free: 39.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/9.442, allocations: 0.9204 MB / 4.25 GB, free: 39.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/9.443, allocations: 1.531 kB / 4.25 GB, free: 39.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007814/9.443, allocations: 378.2 kB / 4.25 GB, free: 39.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/9.445, allocations: 290.6 kB / 4.25 GB, free: 39.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/9.447, allocations: 1.01 MB / 4.251 GB, free: 38.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/9.448, allocations: 0.8618 MB / 4.252 GB, free: 38.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00073/9.449, allocations: 125 kB / 4.252 GB, free: 38.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/9.449, allocations: 56.25 kB / 4.252 GB, free: 38.16 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/9.449, allocations: 1.094 kB / 4.252 GB, free: 38.16 MB / 362.7 MB Notification: Performance of Templates: time 0.03777/9.487, allocations: 32.01 MB / 4.284 GB, free: 36.93 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)