Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001493/0.001493, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.364/1.364, allocations: 170.7 MB / 178.7 MB, free: 15.66 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.001635/0.001635, allocations: 107.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.813e-05, allocations: 3.984 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 38.78 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.27/17.38, allocations: 6.604 GB / 6.898 GB, free: 77.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/17.38, allocations: 75.28 kB / 6.898 GB, free: 77.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7518/18.13, allocations: 187.8 MB / 7.082 GB, free: 58.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/18.13, allocations: 0 / 7.082 GB, free: 58.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.187e-05/18.13, allocations: 0 / 7.082 GB, free: 58.72 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.009098/18.14, allocations: 1.449 MB / 7.083 GB, free: 57.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/18.14, allocations: 16.03 kB / 7.083 GB, free: 57.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/18.14, allocations: 19.77 kB / 7.083 GB, free: 57.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/18.14, allocations: 214.8 kB / 7.083 GB, free: 56.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/18.14, allocations: 4 kB / 7.083 GB, free: 56.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/18.14, allocations: 12 kB / 7.083 GB, free: 56.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004036/18.14, allocations: 208.5 kB / 7.084 GB, free: 56.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/18.14, allocations: 221.2 kB / 7.084 GB, free: 56.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/18.14, allocations: 0 / 7.084 GB, free: 56.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/18.14, allocations: 0 / 7.084 GB, free: 56.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/18.14, allocations: 11.95 kB / 7.084 GB, free: 56.48 MB / 362.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.001301/18.14, allocations: 0.6413 MB / 7.085 GB, free: 55.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/18.14, allocations: 278.3 kB / 7.085 GB, free: 55.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/18.14, allocations: 105.7 kB / 7.085 GB, free: 55.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/18.15, allocations: 10.08 MB / 7.095 GB, free: 43.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/18.15, allocations: 42.56 kB / 7.095 GB, free: 43.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.435e-06/18.15, allocations: 0 / 7.095 GB, free: 43.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001899/18.15, allocations: 495.2 kB / 7.095 GB, free: 42.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/18.15, allocations: 89.19 kB / 7.095 GB, free: 42.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/18.15, allocations: 116.9 kB / 7.095 GB, free: 42.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/18.15, allocations: 25.7 kB / 7.095 GB, free: 42.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/18.15, allocations: 112.6 kB / 7.096 GB, free: 42.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/18.15, allocations: 122.2 kB / 7.096 GB, free: 42.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/18.15, allocations: 0 / 7.096 GB, free: 42.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.382e-05/18.15, allocations: 330.8 kB / 7.096 GB, free: 41.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/18.15, allocations: 99.98 kB / 7.096 GB, free: 41.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/18.15, allocations: 171.9 kB / 7.096 GB, free: 41.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/18.15, allocations: 144.7 kB / 7.096 GB, free: 41.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/18.15, allocations: 0 / 7.096 GB, free: 41.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006667/18.15, allocations: 357.8 kB / 7.097 GB, free: 41.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/18.15, allocations: 7.906 kB / 7.097 GB, free: 41.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/18.15, allocations: 7.984 kB / 7.097 GB, free: 41.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/18.15, allocations: 4 kB / 7.097 GB, free: 41.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/18.15, allocations: 95.86 kB / 7.097 GB, free: 41.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/18.15, allocations: 7.938 kB / 7.097 GB, free: 41.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/18.16, allocations: 31.91 kB / 7.097 GB, free: 41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/18.16, allocations: 15.98 kB / 7.097 GB, free: 40.98 MB / 362.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.809e-05/18.16, allocations: 112.9 kB / 7.097 GB, free: 40.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/18.16, allocations: 15.91 kB / 7.097 GB, free: 40.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/18.16, allocations: 190.1 kB / 7.097 GB, free: 40.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/18.16, allocations: 4 kB / 7.097 GB, free: 40.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/18.16, allocations: 0 / 7.097 GB, free: 40.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/18.16, allocations: 4 kB / 7.097 GB, free: 40.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/18.16, allocations: 0.862 MB / 7.098 GB, free: 39.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/18.16, allocations: 0 / 7.098 GB, free: 39.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/18.16, allocations: 87.81 kB / 7.098 GB, free: 39.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/18.16, allocations: 8.156 kB / 7.098 GB, free: 39.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/18.16, allocations: 4 kB / 7.098 GB, free: 39.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/18.16, allocations: 7.984 kB / 7.098 GB, free: 39.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/18.16, allocations: 3.938 kB / 7.098 GB, free: 39.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/18.16, allocations: 0.7131 MB / 7.099 GB, free: 38.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/18.16, allocations: 124.9 kB / 7.099 GB, free: 38.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/18.16, allocations: 4.062 kB / 7.099 GB, free: 38.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/18.16, allocations: 19.97 kB / 7.099 GB, free: 38.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/18.16, allocations: 23.91 kB / 7.099 GB, free: 38.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/18.16, allocations: 19.98 kB / 7.099 GB, free: 38.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.594e-05/18.16, allocations: 87.28 kB / 7.099 GB, free: 38.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/18.16, allocations: 0 / 7.099 GB, free: 38.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005753/18.17, allocations: 1.077 MB / 7.1 GB, free: 37.48 MB / 362.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 (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.009323/18.17, allocations: 1.632 MB / 7.102 GB, free: 35.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004891/18.17, allocations: 275.7 kB / 7.102 GB, free: 35.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/18.17, allocations: 4.375 kB / 7.102 GB, free: 35.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/18.18, allocations: 155.8 kB / 7.102 GB, free: 35.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/18.18, allocations: 88.58 kB / 7.102 GB, free: 35.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/18.18, allocations: 469.9 kB / 7.103 GB, free: 34.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/18.18, allocations: 0.7456 MB / 7.103 GB, free: 34.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003793/18.18, allocations: 74.03 kB / 7.104 GB, free: 34.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/18.18, allocations: 35.42 kB / 7.104 GB, free: 34.03 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/18.18, allocations: 0 / 7.104 GB, free: 34.03 MB / 362.7 MB Notification: Performance of Templates: time 0.04495/18.22, allocations: 30.7 MB / 7.134 GB, free: 3.297 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)