Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001964/0.001964, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.541/1.541, allocations: 194.3 MB / 208.4 MB, free: 6.691 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001729/0.001729, allocations: 112.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.107e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09072/0.09076, allocations: 44.49 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.87/14.96, allocations: 6.53 GB / 6.871 GB, free: 30.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/14.96, allocations: 74.77 kB / 6.871 GB, free: 30.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.664/17.62, allocations: 0.6651 GB / 7.536 GB, free: 8.637 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/17.62, allocations: 3.828 kB / 7.536 GB, free: 8.637 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.627e-05/17.62, allocations: 12 kB / 7.536 GB, free: 8.625 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01187/17.64, allocations: 2.395 MB / 7.538 GB, free: 6.191 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/17.64, allocations: 12.03 kB / 7.538 GB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000567/17.64, allocations: 83.14 kB / 7.538 GB, free: 6.098 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007328/17.64, allocations: 433.8 kB / 7.539 GB, free: 5.637 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/17.64, allocations: 49.25 kB / 7.539 GB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.465e-05/17.64, allocations: 65.22 kB / 7.539 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/17.64, allocations: 0.6976 MB / 7.54 GB, free: 4.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/17.64, allocations: 8.781 kB / 7.54 GB, free: 4.812 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.499e-05/17.64, allocations: 24 kB / 7.54 GB, free: 4.789 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/17.64, allocations: 17.5 kB / 7.54 GB, free: 4.773 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/17.64, allocations: 0.864 MB / 7.541 GB, free: 3.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01656/17.66, allocations: 12.66 MB / 7.553 GB, free: 5.109 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/17.66, allocations: 0.8777 MB / 7.554 GB, free: 4.188 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/17.66, allocations: 408.9 kB / 7.554 GB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4439/18.1, allocations: 30.2 MB / 7.584 GB, free: 23.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.143e-05/18.1, allocations: 44.47 kB / 7.584 GB, free: 23.81 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 2.775e-06/18.1, allocations: 0 / 7.584 GB, free: 23.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01077/18.11, allocations: 2.928 MB / 7.587 GB, free: 23.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/18.11, allocations: 63.72 kB / 7.587 GB, free: 23.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/18.12, allocations: 321.4 kB / 7.587 GB, free: 23.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.381e-05/18.12, allocations: 43.42 kB / 7.587 GB, free: 23.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/18.12, allocations: 237.7 kB / 7.587 GB, free: 23.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/18.12, allocations: 310.2 kB / 7.588 GB, free: 22.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/18.12, allocations: 17.97 kB / 7.588 GB, free: 22.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/18.12, allocations: 361.6 kB / 7.588 GB, free: 22.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/18.12, allocations: 323.1 kB / 7.588 GB, free: 22.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009187/18.12, allocations: 437.5 kB / 7.589 GB, free: 22.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/18.12, allocations: 393.2 kB / 7.589 GB, free: 22.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/18.12, allocations: 1.438 kB / 7.589 GB, free: 22.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002685/18.12, allocations: 1.02 MB / 7.59 GB, free: 22.42 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/18.12, allocations: 9.453 kB / 7.59 GB, free: 22.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/18.12, allocations: 2.125 kB / 7.59 GB, free: 22.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009278/18.12, allocations: 169.3 kB / 7.59 GB, free: 22.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/18.12, allocations: 188.9 kB / 7.59 GB, free: 22.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/18.13, allocations: 3.909 MB / 7.594 GB, free: 18.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/18.13, allocations: 61.94 kB / 7.594 GB, free: 18.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/18.13, allocations: 45.42 kB / 7.594 GB, free: 18.72 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002818/18.13, allocations: 152.6 kB / 7.594 GB, free: 18.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/18.13, allocations: 67.55 kB / 7.594 GB, free: 18.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/18.13, allocations: 1.111 MB / 7.596 GB, free: 18.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/18.13, allocations: 10.31 kB / 7.596 GB, free: 18.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/18.13, allocations: 1.562 kB / 7.596 GB, free: 18.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002197/18.13, allocations: 1.321 MB / 7.597 GB, free: 17.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/18.14, allocations: 2.068 MB / 7.599 GB, free: 17.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/18.14, allocations: 2.844 kB / 7.599 GB, free: 17.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007738/18.14, allocations: 183 kB / 7.599 GB, free: 17.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/18.14, allocations: 305.1 kB / 7.599 GB, free: 17.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.242e-05/18.14, allocations: 32.95 kB / 7.599 GB, free: 17.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008139/18.14, allocations: 1.294 MB / 7.601 GB, free: 16.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/18.14, allocations: 3.312 kB / 7.601 GB, free: 16.22 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/18.14, allocations: 1.494 MB / 7.602 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/18.14, allocations: 138.8 kB / 7.602 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/18.14, allocations: 27.44 kB / 7.602 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006081/18.14, allocations: 55.92 kB / 7.602 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/18.14, allocations: 62.23 kB / 7.602 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.697e-05/18.14, allocations: 54.53 kB / 7.602 GB, free: 15.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003335/18.14, allocations: 255.5 kB / 7.603 GB, free: 15.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.31e-07/18.14, allocations: 0 / 7.603 GB, free: 15.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01274/18.16, allocations: 2.298 MB / 7.605 GB, free: 15.69 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02292/18.18, allocations: 3.384 MB / 7.608 GB, free: 15.51 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003007/18.18, allocations: 1.119 MB / 7.609 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/18.18, allocations: 0 / 7.609 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009308/18.18, allocations: 0.4938 MB / 7.61 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/18.19, allocations: 396.9 kB / 7.61 GB, free: 15.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/18.19, allocations: 1.43 MB / 7.612 GB, free: 14.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/18.19, allocations: 0.9409 MB / 7.612 GB, free: 14.25 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009126/18.19, allocations: 193.5 kB / 7.613 GB, free: 14.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/18.19, allocations: 79.45 kB / 7.613 GB, free: 14.22 MB / 458.7 MB Notification: Performance of SimCode: time 1.663e-06/18.19, allocations: 0 / 7.613 GB, free: 14.22 MB / 458.7 MB Notification: Performance of Templates: time 0.1159/18.31, allocations: 80.07 MB / 7.691 GB, free: 7.484 MB / 458.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)