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.007536/0.007537, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001628/0.001628, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.6 MB, free: 4.535 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.001176/0.001176, allocations: 50.86 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07949/0.08067, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002113/0.08282, allocations: 1.338 MB / 374.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.09465, allocations: 12.1 MB / 386.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.09472, allocations: 0 / 386.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.0948, allocations: 3.984 kB / 386.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.09731, allocations: 1.049 MB / 387.7 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.09861, allocations: 0.6295 MB / 388.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.225e-05/0.09871, allocations: 71.64 kB / 388.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.09875, allocations: 3.984 kB / 388.4 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.0988, allocations: 27.92 kB / 388.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.09888, allocations: 27.91 kB / 388.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.0989, allocations: 8 kB / 388.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.1014, allocations: 1.612 MB / 390 MB, free: 392 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.1014, allocations: 11.98 kB / 390 MB, free: 380 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.1014, allocations: 27.84 kB / 390.1 MB, free: 352 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.103, allocations: 1.065 MB / 391.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.103, allocations: 0 / 391.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.103, allocations: 0 / 391.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.103, allocations: 4 kB / 391.1 MB, free: 15.27 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.0007783/0.1038, allocations: 0.5341 MB / 391.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1038, allocations: 16.03 kB / 391.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.104, allocations: 12.83 kB / 391.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1042, allocations: 172.4 kB / 391.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1042, allocations: 4.375 kB / 391.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1042, allocations: 384 / 391.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1044, allocations: 79.36 kB / 392 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1044, allocations: 0 / 392 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1044, allocations: 0 / 392 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1044, allocations: 4 kB / 392 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.1046, allocations: 23.98 kB / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.1048, allocations: 182.4 kB / 392.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.1051, allocations: 77.3 kB / 392.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.1052, allocations: 25.7 kB / 392.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006572/0.1118, allocations: 3.301 MB / 395.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.1118, allocations: 46.44 kB / 395.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1118, allocations: 0 / 395.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003369/0.1122, allocations: 77.61 kB / 395.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.1122, allocations: 81.09 kB / 395.8 MB, free: 10 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.1123, allocations: 113.8 kB / 395.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1124, allocations: 25.7 kB / 395.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.1124, allocations: 96.08 kB / 396 MB, free: 9.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.1125, allocations: 15.66 kB / 396 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.1125, allocations: 25.7 kB / 396 MB, free: 9.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1126, allocations: 314.8 kB / 396.3 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.512e-05/0.1127, allocations: 11.98 kB / 396.4 MB, free: 9.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.1128, allocations: 21.72 kB / 396.4 MB, free: 9.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1129, allocations: 45.64 kB / 396.4 MB, free: 9.297 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1129, allocations: 0 / 396.4 MB, free: 9.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001595/0.1131, allocations: 69.52 kB / 396.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1131, allocations: 4 kB / 396.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1131, allocations: 4 kB / 396.5 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1131, allocations: 3.984 kB / 396.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.1132, allocations: 15.94 kB / 396.5 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1132, allocations: 0 / 396.5 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.1133, allocations: 4 kB / 396.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1133, allocations: 4 kB / 396.5 MB, free: 9.188 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 8.406e-05/0.1134, allocations: 113.8 kB / 396.6 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.1134, allocations: 11.94 kB / 396.6 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.1136, allocations: 102.2 kB / 396.7 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1137, allocations: 8.094 kB / 396.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1137, allocations: 0 / 396.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1137, allocations: 3.984 kB / 396.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.1139, allocations: 177.5 kB / 396.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1139, allocations: 7.938 kB / 396.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.1139, allocations: 11.94 kB / 396.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.114, allocations: 3.984 kB / 396.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.114, allocations: 0 / 396.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.114, allocations: 8.125 kB / 397 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.114, allocations: 0 / 397 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.1142, allocations: 97.97 kB / 397.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.1142, allocations: 88.95 kB / 397.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1143, allocations: 11.98 kB / 397.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.1143, allocations: 0 / 397.2 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.1144, allocations: 11.92 kB / 397.2 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1144, allocations: 4 kB / 397.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.1145, allocations: 95.28 kB / 397.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1145, allocations: 0 / 397.3 MB, free: 8.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007614/0.1152, allocations: 323.6 kB / 397.6 MB, free: 8.023 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.001071/0.1163, allocations: 0.5688 MB / 398.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.1165, allocations: 43.91 kB / 398.2 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1165, allocations: 0 / 398.2 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.958e-05/0.1166, allocations: 12 kB / 398.2 MB, free: 7.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.1168, allocations: 23.92 kB / 398.2 MB, free: 7.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.1172, allocations: 164.1 kB / 398.4 MB, free: 7.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1175, allocations: 0.6883 MB / 399.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.1176, allocations: 48.09 kB / 399.1 MB, free: 6.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.1176, allocations: 27.36 kB / 399.1 MB, free: 6.387 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1176, allocations: 0 / 399.1 MB, free: 6.387 MB / 334.1 MB Notification: Performance of Templates: time 0.01321/0.1309, allocations: 8.975 MB / 408.1 MB, free: 13.4 MB / 350.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)