Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.006131/0.006131, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001419/0.001419, allocations: 197.4 kB / 16.68 MB, free: 5.926 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.352/1.352, allocations: 205.1 MB / 222.5 MB, free: 4.473 MB / 174.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.001122/0.001122, allocations: 46.84 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07875/0.07988, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002075/0.08199, allocations: 1.346 MB / 374.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.09365, allocations: 12.08 MB / 386.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.09373, allocations: 3.938 kB / 386.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.0938, allocations: 11.92 kB / 386.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002801/0.09661, allocations: 1.045 MB / 387.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.09818, allocations: 0.6334 MB / 388.3 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.0983, allocations: 63.66 kB / 388.4 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.09834, allocations: 4 kB / 388.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.048e-05/0.0984, allocations: 27.91 kB / 388.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.09849, allocations: 35.91 kB / 388.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.09851, allocations: 0 / 388.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.1012, allocations: 1.615 MB / 390 MB, free: 380 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.1012, allocations: 11.98 kB / 390 MB, free: 368 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.1013, allocations: 27.86 kB / 390.1 MB, free: 340 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.1029, allocations: 1.061 MB / 391.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1029, allocations: 7.875 kB / 391.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1029, allocations: 0 / 391.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1029, allocations: 0 / 391.1 MB, free: 15.26 MB / 334.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.000632/0.1036, allocations: 0.538 MB / 391.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1036, allocations: 12.02 kB / 391.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.1037, allocations: 16.84 kB / 391.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1039, allocations: 172.4 kB / 391.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1039, allocations: 4.375 kB / 391.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1039, allocations: 4.375 kB / 391.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1041, allocations: 67.52 kB / 391.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1041, allocations: 0 / 391.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1041, allocations: 4 kB / 392 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.1041, allocations: 0 / 392 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1042, allocations: 27.92 kB / 392 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.1044, allocations: 178.5 kB / 392.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.1047, allocations: 81.12 kB / 392.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.586e-05/0.1048, allocations: 25.78 kB / 392.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006233/0.111, allocations: 3.297 MB / 395.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.1111, allocations: 46.5 kB / 395.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.1111, allocations: 0 / 395.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003222/0.1114, allocations: 85.58 kB / 395.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.1115, allocations: 77.11 kB / 395.8 MB, free: 9.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.1116, allocations: 113.8 kB / 395.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1116, allocations: 33.7 kB / 395.9 MB, free: 9.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.1116, allocations: 84.14 kB / 396 MB, free: 9.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1117, allocations: 23.66 kB / 396 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.1117, allocations: 21.7 kB / 396 MB, free: 9.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.1118, allocations: 310.8 kB / 396.3 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.1119, allocations: 15.98 kB / 396.3 MB, free: 9.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.1119, allocations: 33.58 kB / 396.4 MB, free: 9.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1121, allocations: 37.7 kB / 396.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1121, allocations: 0 / 396.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001712/0.1122, allocations: 77.45 kB / 396.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1123, allocations: 9.094 kB / 396.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1123, allocations: 0 / 396.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1123, allocations: 0 / 396.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.1124, allocations: 12 kB / 396.5 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1124, allocations: 0 / 396.5 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.1124, allocations: 3.984 kB / 396.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.1125, allocations: 4 kB / 396.5 MB, free: 9.172 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.76e-05/0.1125, allocations: 113.8 kB / 396.6 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.1126, allocations: 7.938 kB / 396.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.1128, allocations: 109.3 kB / 396.7 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1129, allocations: 0 / 396.7 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1129, allocations: 4 kB / 396.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1129, allocations: 0 / 396.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.113, allocations: 169.6 kB / 396.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.113, allocations: 0 / 396.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/0.1131, allocations: 19.92 kB / 396.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1131, allocations: 4.5 kB / 396.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1131, allocations: 4.125 kB / 396.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1131, allocations: 4 kB / 396.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1131, allocations: 0 / 396.9 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.1133, allocations: 101.9 kB / 397 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.1134, allocations: 100.9 kB / 397.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1134, allocations: 0 / 397.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.1135, allocations: 0 / 397.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1135, allocations: 11.98 kB / 397.2 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1136, allocations: 4 kB / 397.2 MB, free: 8.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.868e-05/0.1136, allocations: 91.27 kB / 397.3 MB, free: 8.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1136, allocations: 4 kB / 397.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000822/0.1145, allocations: 319.6 kB / 397.6 MB, free: 8.02 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.001165/0.1156, allocations: 0.5649 MB / 398.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.1158, allocations: 43.89 kB / 398.2 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1158, allocations: 4 kB / 398.2 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.755e-05/0.1159, allocations: 23.92 kB / 398.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.1161, allocations: 20.55 kB / 398.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.1165, allocations: 152.1 kB / 398.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.1167, allocations: 0.6961 MB / 399.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.1168, allocations: 47.81 kB / 399.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.1169, allocations: 23.42 kB / 399.1 MB, free: 6.383 MB / 334.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1169, allocations: 0 / 399.1 MB, free: 6.383 MB / 334.1 MB Notification: Performance of Templates: time 0.01317/0.1301, allocations: 9.009 MB / 408.1 MB, free: 13.36 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1)