Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001031, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 86.55 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.386e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 50.43 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.13/15.27, allocations: 6.204 GB / 6.583 GB, free: 6.379 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/15.27, allocations: 73.66 kB / 6.583 GB, free: 6.309 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081/16.35, allocations: 199.4 MB / 6.777 GB, free: 63.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.878e-06/16.35, allocations: 1.281 kB / 6.777 GB, free: 63.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/16.35, allocations: 4.391 kB / 6.777 GB, free: 63.3 MB / 442.7 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.007774/16.36, allocations: 1.447 MB / 6.779 GB, free: 62.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/16.36, allocations: 9.688 kB / 6.779 GB, free: 62.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/16.36, allocations: 21.22 kB / 6.779 GB, free: 62.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/16.36, allocations: 223.3 kB / 6.779 GB, free: 62.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/16.36, allocations: 5.219 kB / 6.779 GB, free: 62.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/16.36, allocations: 9.281 kB / 6.779 GB, free: 62.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005057/16.36, allocations: 236.3 kB / 6.779 GB, free: 62.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/16.36, allocations: 230.4 kB / 6.78 GB, free: 62.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/16.36, allocations: 4.5 kB / 6.78 GB, free: 62.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/16.36, allocations: 0 / 6.78 GB, free: 62.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/16.36, allocations: 6.375 kB / 6.78 GB, free: 62.37 MB / 442.7 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.001461/16.36, allocations: 0.6717 MB / 6.78 GB, free: 62.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/16.36, allocations: 220.5 kB / 6.78 GB, free: 61.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/16.36, allocations: 107.1 kB / 6.781 GB, free: 61.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0141/16.37, allocations: 12.48 MB / 6.793 GB, free: 49.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/16.37, allocations: 41.05 kB / 6.793 GB, free: 49.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.855e-06/16.37, allocations: 0 / 6.793 GB, free: 49.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002014/16.38, allocations: 0.4946 MB / 6.793 GB, free: 49.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/16.38, allocations: 81.27 kB / 6.793 GB, free: 48.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/16.38, allocations: 114.5 kB / 6.793 GB, free: 48.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/16.38, allocations: 27.86 kB / 6.793 GB, free: 48.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/16.38, allocations: 105.9 kB / 6.794 GB, free: 48.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.949e-05/16.38, allocations: 122.3 kB / 6.794 GB, free: 48.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/16.38, allocations: 0 / 6.794 GB, free: 48.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.195e-05/16.38, allocations: 331.6 kB / 6.794 GB, free: 48.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/16.38, allocations: 105.5 kB / 6.794 GB, free: 48.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/16.38, allocations: 177.7 kB / 6.794 GB, free: 48.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/16.38, allocations: 147.1 kB / 6.794 GB, free: 48.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/16.38, allocations: 4.391 kB / 6.794 GB, free: 48.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008069/16.38, allocations: 365.4 kB / 6.795 GB, free: 48.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/16.38, allocations: 5.5 kB / 6.795 GB, free: 48.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/16.38, allocations: 1.5 kB / 6.795 GB, free: 48.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/16.38, allocations: 7 kB / 6.795 GB, free: 48.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/16.38, allocations: 91.17 kB / 6.795 GB, free: 48.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/16.38, allocations: 7.781 kB / 6.795 GB, free: 48.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/16.38, allocations: 29.33 kB / 6.795 GB, free: 48.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/16.38, allocations: 16.16 kB / 6.795 GB, free: 48.28 MB / 442.7 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 9.756e-05/16.38, allocations: 109.3 kB / 6.795 GB, free: 48.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/16.38, allocations: 26.06 kB / 6.795 GB, free: 48.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/16.38, allocations: 203.8 kB / 6.795 GB, free: 48.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/16.38, allocations: 4.719 kB / 6.795 GB, free: 48.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/16.38, allocations: 0 / 6.795 GB, free: 48.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/16.38, allocations: 8.047 kB / 6.795 GB, free: 48.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/16.38, allocations: 0.6589 MB / 6.796 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/16.38, allocations: 2.219 kB / 6.796 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/16.38, allocations: 82.05 kB / 6.796 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/16.38, allocations: 3.156 kB / 6.796 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/16.38, allocations: 12.73 kB / 6.796 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/16.38, allocations: 6.562 kB / 6.796 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/16.38, allocations: 2.719 kB / 6.796 GB, free: 47.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/16.38, allocations: 0.7137 MB / 6.797 GB, free: 47.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/16.38, allocations: 122.2 kB / 6.797 GB, free: 47.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/16.38, allocations: 1.969 kB / 6.797 GB, free: 47.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/16.38, allocations: 22.66 kB / 6.797 GB, free: 47.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/16.38, allocations: 24.31 kB / 6.797 GB, free: 47.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/16.38, allocations: 22.14 kB / 6.797 GB, free: 47.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.408e-05/16.38, allocations: 104.1 kB / 6.797 GB, free: 47.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/16.38, allocations: 3.031 kB / 6.797 GB, free: 47.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005379/16.39, allocations: 1.095 MB / 6.798 GB, free: 47.11 MB / 442.7 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.00954/16.4, allocations: 1.64 MB / 6.8 GB, free: 46.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005574/16.4, allocations: 272.3 kB / 6.8 GB, free: 46.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/16.4, allocations: 0 / 6.8 GB, free: 46.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/16.4, allocations: 149.7 kB / 6.8 GB, free: 46.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007048/16.4, allocations: 87.58 kB / 6.8 GB, free: 46.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02254/16.42, allocations: 12.18 MB / 6.812 GB, free: 45.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/16.42, allocations: 0.7439 MB / 6.813 GB, free: 61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005572/16.42, allocations: 86.8 kB / 6.813 GB, free: 60.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/16.42, allocations: 40.59 kB / 6.813 GB, free: 60.98 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/16.42, allocations: 0 / 6.813 GB, free: 60.98 MB / 458.7 MB Notification: Performance of Templates: time 0.04066/16.46, allocations: 29.48 MB / 6.842 GB, free: 60.32 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)