Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009509/0.00951, allocations: 102.7 kB / 15.73 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002122/0.002123, allocations: 186.9 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 52.22 kB / 326.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07573/0.0769, allocations: 46.62 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002371/0.07931, allocations: 1.353 MB / 374.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1678/0.2471, allocations: 12.09 MB / 386.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.2472, allocations: 0 / 386.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.2473, allocations: 6.047 kB / 386.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.2504, allocations: 1.051 MB / 387.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.2521, allocations: 0.6327 MB / 388.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2522, allocations: 60.75 kB / 388.3 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.2523, allocations: 7.297 kB / 388.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.2523, allocations: 28.77 kB / 388.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.941e-05/0.2524, allocations: 37.17 kB / 388.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2524, allocations: 6.906 kB / 388.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/0.256, allocations: 1.608 MB / 390 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.256, allocations: 17.45 kB / 390 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.256, allocations: 20.7 kB / 390.1 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.2582, allocations: 1.072 MB / 391.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2582, allocations: 0 / 391.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2583, allocations: 0.8125 kB / 391.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.2583, allocations: 0 / 391.1 MB, free: 4.113 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006721/0.2589, allocations: 0.5396 MB / 391.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.259, allocations: 13.12 kB / 391.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.2591, allocations: 13.81 kB / 391.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.2592, allocations: 177.4 kB / 391.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2593, allocations: 5.531 kB / 391.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.2593, allocations: 2.469 kB / 391.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.2594, allocations: 69.2 kB / 392 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2595, allocations: 0 / 392 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2595, allocations: 1.125 kB / 392 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2595, allocations: 5 kB / 392 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.2596, allocations: 26.88 kB / 392 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.2597, allocations: 176 kB / 392.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.26, allocations: 75.55 kB / 392.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.925e-05/0.2601, allocations: 24.31 kB / 392.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006024/0.2661, allocations: 3.295 MB / 395.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.2662, allocations: 36.22 kB / 395.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.2662, allocations: 0 / 395.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003217/0.2665, allocations: 87.53 kB / 395.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.2665, allocations: 79.08 kB / 395.7 MB, free: 428 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.382e-05/0.2666, allocations: 119.8 kB / 395.9 MB, free: 316 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.2666, allocations: 27.27 kB / 395.9 MB, free: 284 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.854e-05/0.2667, allocations: 90.67 kB / 396 MB, free: 192 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.2667, allocations: 13.95 kB / 396 MB, free: 180 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.2667, allocations: 20.73 kB / 396 MB, free: 160 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.2668, allocations: 318.6 kB / 396.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.2669, allocations: 9.234 kB / 396.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.717e-05/0.267, allocations: 28.92 kB / 396.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.2671, allocations: 46.05 kB / 396.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2671, allocations: 0 / 396.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001848/0.2673, allocations: 66.38 kB / 396.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2673, allocations: 10.16 kB / 396.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2673, allocations: 0 / 396.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2673, allocations: 0.9062 kB / 396.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.2674, allocations: 16.94 kB / 396.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2674, allocations: 0 / 396.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.2675, allocations: 10.42 kB / 396.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2675, allocations: 7.719 kB / 396.5 MB, free: 15.73 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.203e-05/0.2676, allocations: 108.7 kB / 396.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.2676, allocations: 7 kB / 396.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.2679, allocations: 101 kB / 396.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2679, allocations: 9.406 kB / 396.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2679, allocations: 1.828 kB / 396.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2679, allocations: 0 / 396.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.2681, allocations: 171.2 kB / 396.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2681, allocations: 1.188 kB / 396.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.2681, allocations: 13.75 kB / 396.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.2682, allocations: 5.906 kB / 396.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.2682, allocations: 0.5156 kB / 396.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2682, allocations: 1.438 kB / 396.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2682, allocations: 1.953 kB / 396.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.2684, allocations: 98.86 kB / 397 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.2685, allocations: 99.36 kB / 397.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.2685, allocations: 6.266 kB / 397.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.2686, allocations: 2.797 kB / 397.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.2686, allocations: 6.781 kB / 397.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.2686, allocations: 3.578 kB / 397.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.2687, allocations: 100.8 kB / 397.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2687, allocations: 0 / 397.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001023/0.2697, allocations: 323.8 kB / 397.6 MB, free: 14.98 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/0.2709, allocations: 0.5798 MB / 398.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.2711, allocations: 40.45 kB / 398.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2711, allocations: 1.375 kB / 398.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.842e-05/0.2712, allocations: 18.48 kB / 398.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.2714, allocations: 10.97 kB / 398.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.2718, allocations: 160.6 kB / 398.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.2721, allocations: 0.6864 MB / 399.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.2722, allocations: 47.25 kB / 399.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.2723, allocations: 23.91 kB / 399.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2723, allocations: 0 / 399.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of Templates: time 0.0134/0.2857, allocations: 8.983 MB / 408.1 MB, free: 9.859 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1)