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.001472/0.001472, allocations: 105.6 kB / 17.06 MB, free: 6.012 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.001856/0.001856, allocations: 195 kB / 18 MB, free: 5.094 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.341/1.341, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.001214/0.001214, allocations: 55.91 kB / 327.9 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1209, allocations: 46.62 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.0038/0.1248, allocations: 1.353 MB / 375.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.255/0.3798, allocations: 12.08 MB / 387.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.3799, allocations: 0 / 387.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.38, allocations: 5.672 kB / 387.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005018/0.385, allocations: 1.056 MB / 389 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.3881, allocations: 0.6254 MB / 389.6 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3882, allocations: 60.2 kB / 389.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.3883, allocations: 11.89 kB / 389.7 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.3884, allocations: 29.42 kB / 389.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3885, allocations: 33.02 kB / 389.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3885, allocations: 3 kB / 389.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006424/0.395, allocations: 1.609 MB / 391.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.349e-05/0.3951, allocations: 17.95 kB / 391.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.327e-05/0.3952, allocations: 21.36 kB / 391.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003666/0.3989, allocations: 1.075 MB / 392.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3989, allocations: 1.188 kB / 392.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3989, allocations: 0 / 392.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.3989, allocations: 0 / 392.5 MB, free: 4.133 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.001269/0.4002, allocations: 0.5439 MB / 393 MB, free: 3.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4003, allocations: 8.375 kB / 393 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.4005, allocations: 12.86 kB / 393 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.4006, allocations: 178 kB / 393.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.4007, allocations: 2.688 kB / 393.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.4007, allocations: 1.469 kB / 393.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.4009, allocations: 69.2 kB / 393.3 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4009, allocations: 7.938 kB / 393.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.401, allocations: 1.406 kB / 393.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.401, allocations: 3.938 kB / 393.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.4012, allocations: 27.67 kB / 393.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.4014, allocations: 171.8 kB / 393.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.4018, allocations: 84.11 kB / 393.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.4019, allocations: 24.89 kB / 393.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009617/0.4115, allocations: 3.295 MB / 396.9 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.4116, allocations: 36.95 kB / 396.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 3.286e-06/0.4116, allocations: 0 / 396.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005967/0.4122, allocations: 79.56 kB / 397 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.4123, allocations: 78.39 kB / 397.1 MB, free: 448 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.4124, allocations: 119.2 kB / 397.2 MB, free: 336 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.4124, allocations: 27.83 kB / 397.2 MB, free: 304 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.4125, allocations: 84.89 kB / 397.3 MB, free: 216 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.4125, allocations: 15.81 kB / 397.3 MB, free: 204 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.4126, allocations: 20.14 kB / 397.3 MB, free: 184 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4128, allocations: 319.2 kB / 397.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.619e-05/0.4129, allocations: 12.98 kB / 397.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.413, allocations: 33.22 kB / 397.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.4132, allocations: 42.3 kB / 397.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4133, allocations: 0 / 397.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003198/0.4136, allocations: 69.81 kB / 397.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.4136, allocations: 8.688 kB / 397.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.4137, allocations: 1.594 kB / 397.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.4137, allocations: 1.094 kB / 397.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4138, allocations: 15.53 kB / 397.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.4139, allocations: 1.375 kB / 397.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/0.414, allocations: 11.47 kB / 397.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.414, allocations: 2.391 kB / 397.8 MB, free: 15.75 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 0.0001297/0.4141, allocations: 109.5 kB / 397.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.4142, allocations: 6.531 kB / 398 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/0.4147, allocations: 110.5 kB / 398.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4147, allocations: 1.438 kB / 398.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4147, allocations: 0.75 kB / 398.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4147, allocations: 1 kB / 398.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.4149, allocations: 171.4 kB / 398.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.415, allocations: 2.812 kB / 398.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.445e-05/0.4151, allocations: 12.22 kB / 398.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.4151, allocations: 5.219 kB / 398.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4151, allocations: 1.766 kB / 398.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.4151, allocations: 4.516 kB / 398.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4151, allocations: 1.406 kB / 398.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.4155, allocations: 99.59 kB / 398.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/0.4156, allocations: 96.3 kB / 398.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.4156, allocations: 1.344 kB / 398.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.4158, allocations: 7.562 kB / 398.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.4158, allocations: 9.203 kB / 398.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.4159, allocations: 4.484 kB / 398.5 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.416, allocations: 91.22 kB / 398.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.416, allocations: 0 / 398.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001662/0.4177, allocations: 326.2 kB / 398.9 MB, free: 15 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.002411/0.4201, allocations: 0.5801 MB / 399.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003431/0.4205, allocations: 38.95 kB / 399.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4205, allocations: 0.8438 kB / 399.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.4207, allocations: 20.55 kB / 399.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.421, allocations: 12.23 kB / 399.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.4217, allocations: 160 kB / 399.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.422, allocations: 0.6819 MB / 400.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.4222, allocations: 54.58 kB / 400.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.4223, allocations: 18.66 kB / 400.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4223, allocations: 0 / 400.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Templates: time 0.02506/0.4474, allocations: 9.009 MB / 409.4 MB, free: 9.883 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)