Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001162/0.001162, allocations: 188.1 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.508/1.508, 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.001629/0.001629, allocations: 113.1 kB / 248.1 MB, free: 6.32 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.828e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.08/9.195, allocations: 3.698 GB / 4.033 GB, free: 120.7 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/9.195, allocations: 67.08 kB / 4.033 GB, free: 120.7 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1031/9.298, allocations: 47.95 MB / 4.08 GB, free: 74.52 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.384e-06/9.298, allocations: 0 / 4.08 GB, free: 74.52 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.892e-05/9.298, allocations: 4 kB / 4.08 GB, free: 74.51 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001744/9.3, allocations: 0.6274 MB / 4.08 GB, free: 73.84 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/9.3, allocations: 9.062 kB / 4.08 GB, free: 73.83 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/9.3, allocations: 15.91 kB / 4.08 GB, free: 73.81 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/9.3, allocations: 214.8 kB / 4.081 GB, free: 73.56 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/9.3, allocations: 12 kB / 4.081 GB, free: 73.55 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/9.3, allocations: 8 kB / 4.081 GB, free: 73.54 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003713/9.301, allocations: 204.5 kB / 4.081 GB, free: 73.34 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/9.301, allocations: 217.2 kB / 4.081 GB, free: 73.12 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/9.301, allocations: 0 / 4.081 GB, free: 73.12 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/9.301, allocations: 0 / 4.081 GB, free: 73.12 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/9.301, allocations: 8 kB / 4.081 GB, free: 73.11 MB / 395.1 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/9.303, allocations: 0.6409 MB / 4.082 GB, free: 72.41 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/9.303, allocations: 198.3 kB / 4.082 GB, free: 72.2 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/9.303, allocations: 105.7 kB / 4.082 GB, free: 72.09 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/9.303, allocations: 360.4 kB / 4.082 GB, free: 71.67 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/9.303, allocations: 38.52 kB / 4.082 GB, free: 71.62 MB / 395.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/9.303, allocations: 0 / 4.082 GB, free: 71.62 MB / 395.1 MB Notification: Performance of matching and sorting (n=36): time 0.001417/9.305, allocations: 0.4954 MB / 4.083 GB, free: 71.12 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/9.305, allocations: 85.23 kB / 4.083 GB, free: 71.02 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/9.305, allocations: 106.4 kB / 4.083 GB, free: 70.91 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/9.305, allocations: 29.7 kB / 4.083 GB, free: 70.88 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/9.305, allocations: 108.6 kB / 4.083 GB, free: 70.77 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.215e-05/9.305, allocations: 118.2 kB / 4.083 GB, free: 70.65 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/9.305, allocations: 0 / 4.083 GB, free: 70.65 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 6.117e-05/9.305, allocations: 330.8 kB / 4.084 GB, free: 70.32 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/9.305, allocations: 104 kB / 4.084 GB, free: 70.21 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/9.306, allocations: 176.2 kB / 4.084 GB, free: 70.02 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/9.306, allocations: 144.5 kB / 4.084 GB, free: 69.88 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/9.306, allocations: 3.953 kB / 4.084 GB, free: 69.88 MB / 395.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005334/9.306, allocations: 347.6 kB / 4.084 GB, free: 69.54 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/9.306, allocations: 8.938 kB / 4.084 GB, free: 69.53 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/9.306, allocations: 0 / 4.084 GB, free: 69.53 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/9.307, allocations: 4.219 kB / 4.084 GB, free: 69.52 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/9.307, allocations: 90.03 kB / 4.084 GB, free: 69.44 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/9.307, allocations: 7.938 kB / 4.084 GB, free: 69.43 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/9.307, allocations: 23.88 kB / 4.084 GB, free: 69.41 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/9.307, allocations: 16 kB / 4.084 GB, free: 69.39 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.929e-05/9.307, allocations: 116.6 kB / 4.085 GB, free: 69.27 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/9.308, allocations: 27.75 kB / 4.085 GB, free: 69.24 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/9.308, allocations: 170.3 kB / 4.085 GB, free: 69.07 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/9.308, allocations: 8 kB / 4.085 GB, free: 69.06 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/9.308, allocations: 0 / 4.085 GB, free: 69.06 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-06/9.308, allocations: 3.984 kB / 4.085 GB, free: 69.05 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009476/9.309, allocations: 0.6483 MB / 4.085 GB, free: 68.35 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/9.309, allocations: 4 kB / 4.085 GB, free: 68.35 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/9.309, allocations: 87.81 kB / 4.086 GB, free: 68.26 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/9.309, allocations: 4 kB / 4.086 GB, free: 68.26 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/9.309, allocations: 4 kB / 4.086 GB, free: 68.25 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/9.309, allocations: 11.94 kB / 4.086 GB, free: 68.24 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/9.309, allocations: 4.156 kB / 4.086 GB, free: 68.24 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/9.31, allocations: 0.6966 MB / 4.086 GB, free: 67.47 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/9.31, allocations: 116.8 kB / 4.086 GB, free: 67.34 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/9.31, allocations: 7.984 kB / 4.086 GB, free: 67.33 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/9.311, allocations: 20 kB / 4.086 GB, free: 67.31 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/9.311, allocations: 19.97 kB / 4.086 GB, free: 67.29 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/9.311, allocations: 19.98 kB / 4.086 GB, free: 67.27 MB / 395.1 MB Notification: Performance of sorting global known variables: time 3.495e-05/9.311, allocations: 88.41 kB / 4.086 GB, free: 67.19 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.21e-07/9.311, allocations: 0 / 4.086 GB, free: 67.19 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0007199/9.312, allocations: 163.8 kB / 4.087 GB, free: 67.03 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001044/9.313, allocations: 0.7345 MB / 4.087 GB, free: 66.29 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/9.313, allocations: 267.8 kB / 4.088 GB, free: 66.02 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/9.313, allocations: 0 / 4.088 GB, free: 66.02 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/9.313, allocations: 143.8 kB / 4.088 GB, free: 65.88 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/9.314, allocations: 86.55 kB / 4.088 GB, free: 65.8 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009219/9.315, allocations: 453.4 kB / 4.088 GB, free: 65.32 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/9.315, allocations: 0.753 MB / 4.089 GB, free: 64.54 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0004248/9.315, allocations: 70.88 kB / 4.089 GB, free: 64.47 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/9.316, allocations: 35.41 kB / 4.089 GB, free: 64.44 MB / 395.1 MB Notification: Performance of SimCode: time 1.252e-06/9.316, allocations: 0 / 4.089 GB, free: 64.44 MB / 395.1 MB Notification: Performance of Templates: time 0.01206/9.328, allocations: 8.275 MB / 4.097 GB, free: 56.18 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe 2>&1)