Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001546/0.001546, allocations: 113.1 kB / 17.06 MB, free: 6 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.002077/0.002077, allocations: 200 kB / 18 MB, free: 5.078 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.313/1.313, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001163/0.001163, allocations: 51.94 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07424/0.07541, allocations: 46.61 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002062/0.0775, allocations: 1.353 MB / 375.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1628/0.2403, allocations: 12.09 MB / 387.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/0.2404, allocations: 3.938 kB / 387.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.2405, allocations: 1.922 kB / 387.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.2436, allocations: 1.051 MB / 389 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.2451, allocations: 0.6308 MB / 389.6 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.2452, allocations: 56.23 kB / 389.7 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.2453, allocations: 7.109 kB / 389.7 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.14e-05/0.2453, allocations: 37.92 kB / 389.7 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.688e-05/0.2454, allocations: 32.77 kB / 389.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.2455, allocations: 2.125 kB / 389.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.2488, allocations: 1.607 MB / 391.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.2488, allocations: 21.92 kB / 391.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.2488, allocations: 20.34 kB / 391.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.251, allocations: 1.069 MB / 392.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.251, allocations: 0 / 392.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.251, allocations: 0 / 392.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.251, allocations: 1.062 kB / 392.5 MB, free: 4.086 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.0006113/0.2516, allocations: 0.543 MB / 393 MB, free: 3.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2516, allocations: 8.594 kB / 393 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.2518, allocations: 17.91 kB / 393 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2519, allocations: 176.5 kB / 393.2 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2519, allocations: 6.703 kB / 393.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2519, allocations: 2.219 kB / 393.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.2521, allocations: 69.44 kB / 393.3 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2521, allocations: 4 kB / 393.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2521, allocations: 4 kB / 393.3 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2521, allocations: 1.891 kB / 393.3 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2522, allocations: 18.31 kB / 393.3 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.2524, allocations: 176.8 kB / 393.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.2526, allocations: 84.55 kB / 393.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.2527, allocations: 24.75 kB / 393.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005873/0.2586, allocations: 3.287 MB / 396.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.2586, allocations: 41.38 kB / 396.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.2587, allocations: 1.594 kB / 396.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003145/0.259, allocations: 77.41 kB / 397 MB, free: 500 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.259, allocations: 82.81 kB / 397.1 MB, free: 400 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.2591, allocations: 115.6 kB / 397.2 MB, free: 292 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.2591, allocations: 30.73 kB / 397.2 MB, free: 256 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.2591, allocations: 81.81 kB / 397.3 MB, free: 172 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.2592, allocations: 23.89 kB / 397.3 MB, free: 152 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.2592, allocations: 24.27 kB / 397.3 MB, free: 128 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2593, allocations: 314.2 kB / 397.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.786e-05/0.2594, allocations: 12.81 kB / 397.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.2595, allocations: 29.2 kB / 397.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.2596, allocations: 43.31 kB / 397.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2596, allocations: 0 / 397.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001676/0.2598, allocations: 73.27 kB / 397.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2598, allocations: 11.2 kB / 397.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2598, allocations: 0 / 397.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2598, allocations: 1.312 kB / 397.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.17e-05/0.2599, allocations: 15.77 kB / 397.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2599, allocations: 2.062 kB / 397.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.26, allocations: 6.938 kB / 397.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.26, allocations: 2.156 kB / 397.8 MB, free: 15.7 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.364e-05/0.2601, allocations: 117 kB / 397.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.2601, allocations: 7.375 kB / 398 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.2604, allocations: 106.2 kB / 398.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2604, allocations: 2.156 kB / 398.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2604, allocations: 1.25 kB / 398.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2604, allocations: 0.6562 kB / 398.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.2605, allocations: 167.4 kB / 398.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2605, allocations: 0 / 398.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.2606, allocations: 19.48 kB / 398.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2606, allocations: 5.406 kB / 398.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.2606, allocations: 1.812 kB / 398.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2606, allocations: 5.188 kB / 398.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2606, allocations: 0.5156 kB / 398.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.2608, allocations: 93.16 kB / 398.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.2609, allocations: 96.16 kB / 398.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.2609, allocations: 1.375 kB / 398.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.261, allocations: 6.484 kB / 398.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.2611, allocations: 13.02 kB / 398.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.2611, allocations: 3.266 kB / 398.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.083e-05/0.2611, allocations: 91.91 kB / 398.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2611, allocations: 0 / 398.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009662/0.2621, allocations: 323.1 kB / 398.9 MB, free: 14.95 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.001194/0.2633, allocations: 0.5853 MB / 399.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.2635, allocations: 31.84 kB / 399.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2635, allocations: 1.406 kB / 399.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.173e-05/0.2636, allocations: 23.23 kB / 399.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.2638, allocations: 12.59 kB / 399.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.2642, allocations: 164.1 kB / 399.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.2645, allocations: 0.6818 MB / 400.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.2646, allocations: 49.06 kB / 400.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.2647, allocations: 26.59 kB / 400.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2647, allocations: 0 / 400.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of Templates: time 0.01316/0.2778, allocations: 8.983 MB / 409.4 MB, free: 9.855 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1)