Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009305/0.000931, allocations: 94.48 kB / 262.5 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.538e-05/1.541e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 47.6 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.51/18.63, allocations: 6.679 GB / 7.033 GB, free: 99.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/18.63, allocations: 72.61 kB / 7.034 GB, free: 99.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8119/19.44, allocations: 190.1 MB / 7.219 GB, free: 76.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/19.44, allocations: 4 kB / 7.219 GB, free: 76.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/19.44, allocations: 3.531 kB / 7.219 GB, free: 76.93 MB / 426.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.01084/19.45, allocations: 1.439 MB / 7.221 GB, free: 76.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/19.45, allocations: 10.16 kB / 7.221 GB, free: 76.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/19.45, allocations: 23.45 kB / 7.221 GB, free: 76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/19.45, allocations: 215.3 kB / 7.221 GB, free: 75.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/19.45, allocations: 7.797 kB / 7.221 GB, free: 75.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/19.45, allocations: 19.14 kB / 7.221 GB, free: 75.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005485/19.45, allocations: 234 kB / 7.221 GB, free: 75.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/19.45, allocations: 236.4 kB / 7.221 GB, free: 75.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/19.45, allocations: 4 kB / 7.221 GB, free: 75.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/19.45, allocations: 3.953 kB / 7.221 GB, free: 75.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/19.45, allocations: 7.844 kB / 7.221 GB, free: 75.73 MB / 426.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.001641/19.46, allocations: 0.6699 MB / 7.222 GB, free: 75.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/19.46, allocations: 212.3 kB / 7.222 GB, free: 75.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/19.46, allocations: 109.2 kB / 7.222 GB, free: 75.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01361/19.47, allocations: 12.47 MB / 7.234 GB, free: 62.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/19.47, allocations: 33.88 kB / 7.234 GB, free: 62.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.805e-06/19.47, allocations: 0 / 7.234 GB, free: 62.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002269/19.47, allocations: 0.5049 MB / 7.235 GB, free: 62.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/19.47, allocations: 81.23 kB / 7.235 GB, free: 62.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/19.47, allocations: 110.9 kB / 7.235 GB, free: 62.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/19.47, allocations: 25.7 kB / 7.235 GB, free: 62.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/19.47, allocations: 110.1 kB / 7.235 GB, free: 62.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/19.47, allocations: 120.5 kB / 7.235 GB, free: 61.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/19.47, allocations: 4 kB / 7.235 GB, free: 61.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.191e-05/19.47, allocations: 326.2 kB / 7.236 GB, free: 61.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/19.47, allocations: 105.8 kB / 7.236 GB, free: 61.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/19.47, allocations: 174.5 kB / 7.236 GB, free: 61.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/19.47, allocations: 146.9 kB / 7.236 GB, free: 61.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/19.47, allocations: 6.406 kB / 7.236 GB, free: 61.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008352/19.47, allocations: 366.5 kB / 7.236 GB, free: 61.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/19.47, allocations: 8.125 kB / 7.236 GB, free: 61.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/19.47, allocations: 3.281 kB / 7.236 GB, free: 61.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/19.47, allocations: 3.312 kB / 7.236 GB, free: 61.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/19.47, allocations: 90.06 kB / 7.237 GB, free: 61.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/19.47, allocations: 7.828 kB / 7.237 GB, free: 61.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/19.47, allocations: 22.3 kB / 7.237 GB, free: 61.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/19.47, allocations: 19.03 kB / 7.237 GB, free: 61.46 MB / 426.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 0.000111/19.48, allocations: 120.4 kB / 7.237 GB, free: 61.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/19.48, allocations: 19.59 kB / 7.237 GB, free: 61.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005296/19.48, allocations: 210.5 kB / 7.237 GB, free: 61.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/19.48, allocations: 3.281 kB / 7.237 GB, free: 61.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/19.48, allocations: 0 / 7.237 GB, free: 61.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/19.48, allocations: 3.953 kB / 7.237 GB, free: 61.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/19.48, allocations: 0.6557 MB / 7.238 GB, free: 60.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/19.48, allocations: 0 / 7.238 GB, free: 60.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/19.48, allocations: 81.2 kB / 7.238 GB, free: 60.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/19.48, allocations: 1.859 kB / 7.238 GB, free: 60.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/19.48, allocations: 11.3 kB / 7.238 GB, free: 60.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/19.48, allocations: 4.156 kB / 7.238 GB, free: 60.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/19.48, allocations: 7.719 kB / 7.238 GB, free: 60.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009924/19.48, allocations: 0.7066 MB / 7.238 GB, free: 60.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/19.48, allocations: 130.2 kB / 7.238 GB, free: 60.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/19.48, allocations: 0 / 7.238 GB, free: 60.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/19.48, allocations: 22.33 kB / 7.238 GB, free: 60.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/19.48, allocations: 26.34 kB / 7.239 GB, free: 60.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/19.48, allocations: 17.64 kB / 7.239 GB, free: 60.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.274e-05/19.48, allocations: 95.39 kB / 7.239 GB, free: 60.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/19.48, allocations: 0 / 7.239 GB, free: 60.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00871/19.49, allocations: 1.083 MB / 7.24 GB, free: 60.19 MB / 426.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.01232/19.5, allocations: 1.68 MB / 7.241 GB, free: 59.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000745/19.5, allocations: 282.9 kB / 7.242 GB, free: 59.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/19.5, allocations: 4.125 kB / 7.242 GB, free: 59.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002639/19.5, allocations: 142.4 kB / 7.242 GB, free: 59.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008238/19.5, allocations: 84.69 kB / 7.242 GB, free: 59.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0245/19.53, allocations: 11.84 MB / 7.253 GB, free: 58.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/19.53, allocations: 0.7394 MB / 7.254 GB, free: 57.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005376/19.53, allocations: 84.52 kB / 7.254 GB, free: 57.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/19.53, allocations: 42.34 kB / 7.254 GB, free: 57.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/19.53, allocations: 0 / 7.254 GB, free: 57.3 MB / 426.7 MB Notification: Performance of Templates: time 0.0498/19.58, allocations: 31.08 MB / 7.285 GB, free: 33.48 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)