Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001379/0.001379, allocations: 188.6 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.754/1.754, allocations: 194.3 MB / 203.1 MB, free: 9.32 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.001723/0.001723, allocations: 112.6 kB / 248.1 MB, free: 6.324 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.787e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.84/16.96, allocations: 6.611 GB / 6.945 GB, free: 27.12 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/16.96, allocations: 71.3 kB / 6.945 GB, free: 27.09 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9866/17.95, allocations: 188.6 MB / 7.129 GB, free: 56.5 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.393e-06/17.95, allocations: 0 / 7.129 GB, free: 56.5 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/17.95, allocations: 3.438 kB / 7.129 GB, free: 56.5 MB / 411.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.007956/17.96, allocations: 1.444 MB / 7.131 GB, free: 55.86 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/17.96, allocations: 11.78 kB / 7.131 GB, free: 55.86 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/17.96, allocations: 19.47 kB / 7.131 GB, free: 55.86 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/17.96, allocations: 214.1 kB / 7.131 GB, free: 55.66 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/17.96, allocations: 11.66 kB / 7.131 GB, free: 55.66 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/17.96, allocations: 9.812 kB / 7.131 GB, free: 55.66 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000348/17.96, allocations: 212.6 kB / 7.131 GB, free: 55.66 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/17.96, allocations: 218.6 kB / 7.131 GB, free: 55.61 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/17.96, allocations: 2.25 kB / 7.131 GB, free: 55.61 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/17.96, allocations: 0 / 7.131 GB, free: 55.61 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/17.96, allocations: 7.625 kB / 7.131 GB, free: 55.61 MB / 411.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.001273/17.96, allocations: 0.6389 MB / 7.132 GB, free: 55.26 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/17.96, allocations: 276.2 kB / 7.132 GB, free: 55.12 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/17.96, allocations: 112.6 kB / 7.132 GB, free: 55.1 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/17.97, allocations: 10.08 MB / 7.142 GB, free: 44.97 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/17.97, allocations: 37.28 kB / 7.142 GB, free: 44.93 MB / 411.1 MB Notification: Performance of pre-optimization done (n=29): time 3.817e-06/17.97, allocations: 0 / 7.142 GB, free: 44.93 MB / 411.1 MB Notification: Performance of matching and sorting (n=36): time 0.002004/17.97, allocations: 0.5003 MB / 7.143 GB, free: 44.86 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/17.97, allocations: 82.86 kB / 7.143 GB, free: 44.77 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/17.97, allocations: 115 kB / 7.143 GB, free: 44.68 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/17.97, allocations: 25.7 kB / 7.143 GB, free: 44.65 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/17.97, allocations: 112.4 kB / 7.143 GB, free: 44.55 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/17.97, allocations: 120 kB / 7.143 GB, free: 44.49 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/17.97, allocations: 3.875 kB / 7.143 GB, free: 44.49 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 8.608e-05/17.97, allocations: 325.2 kB / 7.144 GB, free: 44.18 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/17.97, allocations: 113.1 kB / 7.144 GB, free: 44.18 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/17.98, allocations: 175.3 kB / 7.144 GB, free: 44.1 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/17.98, allocations: 145 kB / 7.144 GB, free: 44.1 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/17.98, allocations: 3.156 kB / 7.144 GB, free: 44.1 MB / 411.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006149/17.98, allocations: 350.8 kB / 7.144 GB, free: 44.06 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/17.98, allocations: 9.781 kB / 7.144 GB, free: 44.06 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/17.98, allocations: 6.766 kB / 7.144 GB, free: 44.05 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/17.98, allocations: 3.156 kB / 7.144 GB, free: 44.05 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/17.98, allocations: 90.33 kB / 7.144 GB, free: 44.05 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/17.98, allocations: 10.3 kB / 7.144 GB, free: 44.05 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/17.98, allocations: 20.38 kB / 7.144 GB, free: 44.05 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/17.98, allocations: 13.98 kB / 7.144 GB, free: 44.05 MB / 411.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 0.0001058/17.98, allocations: 115.2 kB / 7.145 GB, free: 43.95 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/17.98, allocations: 21.12 kB / 7.145 GB, free: 43.94 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/17.98, allocations: 197.2 kB / 7.145 GB, free: 43.89 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/17.98, allocations: 6.922 kB / 7.145 GB, free: 43.89 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/17.98, allocations: 3.969 kB / 7.145 GB, free: 43.89 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/17.98, allocations: 0 / 7.145 GB, free: 43.89 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/17.98, allocations: 0.853 MB / 7.146 GB, free: 43.5 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/17.98, allocations: 8.156 kB / 7.146 GB, free: 43.5 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/17.98, allocations: 85.91 kB / 7.146 GB, free: 43.5 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/17.98, allocations: 3.156 kB / 7.146 GB, free: 43.5 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/17.98, allocations: 6.281 kB / 7.146 GB, free: 43.5 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/17.98, allocations: 3.781 kB / 7.146 GB, free: 43.5 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/17.98, allocations: 7.438 kB / 7.146 GB, free: 43.5 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009778/17.98, allocations: 0.717 MB / 7.146 GB, free: 43.13 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/17.98, allocations: 122 kB / 7.147 GB, free: 43.03 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/17.98, allocations: 4.281 kB / 7.147 GB, free: 43.03 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/17.98, allocations: 21.88 kB / 7.147 GB, free: 43.03 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/17.98, allocations: 27.67 kB / 7.147 GB, free: 43.03 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/17.98, allocations: 18.58 kB / 7.147 GB, free: 43.03 MB / 411.1 MB Notification: Performance of sorting global known variables: time 5.75e-05/17.98, allocations: 94.03 kB / 7.147 GB, free: 42.95 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.4e-07/17.98, allocations: 3 kB / 7.147 GB, free: 42.95 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.006557/17.99, allocations: 1.069 MB / 7.148 GB, free: 42.82 MB / 411.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 (39): * Single equations (assignments): 39 * 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.009035/18, allocations: 1.626 MB / 7.149 GB, free: 42.6 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0006358/18, allocations: 274.7 kB / 7.15 GB, free: 42.6 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/18, allocations: 0 / 7.15 GB, free: 42.6 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/18, allocations: 155.2 kB / 7.15 GB, free: 42.6 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/18, allocations: 89.11 kB / 7.15 GB, free: 42.6 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009228/18, allocations: 436 kB / 7.15 GB, free: 42.46 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/18, allocations: 0.7452 MB / 7.151 GB, free: 41.77 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.000406/18, allocations: 85.52 kB / 7.151 GB, free: 41.77 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/18, allocations: 35.83 kB / 7.151 GB, free: 41.76 MB / 411.1 MB Notification: Performance of SimCode: time 6.51e-07/18, allocations: 1.688 kB / 7.151 GB, free: 41.76 MB / 411.1 MB Notification: Performance of Templates: time 0.05737/18.06, allocations: 30.76 MB / 7.181 GB, free: 40.89 MB / 411.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)