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.008186/0.008186, allocations: 99.42 kB / 15.73 MB, free: 6.059 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.001768/0.001768, allocations: 192.5 kB / 16.67 MB, free: 5.977 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.399/1.399, allocations: 205.1 MB / 222.6 MB, free: 4.543 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.001248/0.001248, allocations: 49.84 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08581, allocations: 46.62 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002855/0.08871, allocations: 1.358 MB / 374.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.1016, allocations: 12.08 MB / 386.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.1017, allocations: 0 / 386.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.1018, allocations: 0 / 386.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.1049, allocations: 1.053 MB / 387.7 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.1066, allocations: 0.6373 MB / 388.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1067, allocations: 63.64 kB / 388.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.1068, allocations: 8 kB / 388.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.1068, allocations: 27.91 kB / 388.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.1069, allocations: 31.91 kB / 388.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1069, allocations: 4 kB / 388.4 MB, free: 2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.11, allocations: 1.615 MB / 390 MB, free: 392 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.1101, allocations: 11.98 kB / 390.1 MB, free: 380 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.1101, allocations: 23.86 kB / 390.1 MB, free: 356 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.1121, allocations: 1.064 MB / 391.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1121, allocations: 7.938 kB / 391.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1121, allocations: 0 / 391.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1121, allocations: 0 / 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.0007305/0.1128, allocations: 0.5482 MB / 391.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1129, allocations: 12.03 kB / 391.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.113, allocations: 12.88 kB / 391.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1132, allocations: 188.2 kB / 391.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1132, allocations: 384 / 391.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.1132, allocations: 384 / 391.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1134, allocations: 75.45 kB / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1134, allocations: 4 kB / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1134, allocations: 0 / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1134, allocations: 0 / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1135, allocations: 19.98 kB / 392 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.1137, allocations: 170.6 kB / 392.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.114, allocations: 85.12 kB / 392.3 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.1141, allocations: 25.77 kB / 392.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00649/0.1206, allocations: 3.29 MB / 395.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.1207, allocations: 50.42 kB / 395.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.1207, allocations: 3.938 kB / 395.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003288/0.121, allocations: 81.56 kB / 395.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.1211, allocations: 77.11 kB / 395.8 MB, free: 9.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.1212, allocations: 117.8 kB / 395.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1212, allocations: 25.7 kB / 395.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.1213, allocations: 88.12 kB / 396 MB, free: 9.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.1213, allocations: 15.84 kB / 396 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.1214, allocations: 21.72 kB / 396 MB, free: 9.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1215, allocations: 318.8 kB / 396.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/0.1215, allocations: 8 kB / 396.4 MB, free: 9.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.1216, allocations: 33.7 kB / 396.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1217, allocations: 42 kB / 396.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1217, allocations: 0 / 396.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001609/0.1219, allocations: 73.56 kB / 396.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1219, allocations: 9.094 kB / 396.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1219, allocations: 0 / 396.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.122, allocations: 0 / 396.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.122, allocations: 15.92 kB / 396.5 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1221, allocations: 8 kB / 396.5 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.1221, allocations: 0 / 396.5 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.1221, allocations: 8 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.666e-05/0.1222, allocations: 105.8 kB / 396.6 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.1222, allocations: 11.89 kB / 396.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.1225, allocations: 105.8 kB / 396.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1225, allocations: 0 / 396.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1225, allocations: 0 / 396.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1226, allocations: 3.984 kB / 396.8 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.1227, allocations: 177.6 kB / 396.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1227, allocations: 0 / 396.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.1228, allocations: 15.88 kB / 397 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1228, allocations: 3.938 kB / 397 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1228, allocations: 4 kB / 397 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1228, allocations: 0 / 397 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1228, allocations: 7.984 kB / 397 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.123, allocations: 97.94 kB / 397.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.1231, allocations: 85.03 kB / 397.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1231, allocations: 4 kB / 397.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.1232, allocations: 3.984 kB / 397.2 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.1232, allocations: 16.12 kB / 397.2 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1233, allocations: 8 kB / 397.2 MB, free: 8.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.983e-05/0.1233, allocations: 95.25 kB / 397.3 MB, free: 8.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1233, allocations: 0 / 397.3 MB, free: 8.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008013/0.1241, allocations: 330.8 kB / 397.6 MB, free: 8.012 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.001079/0.1252, allocations: 0.5798 MB / 398.2 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.1254, allocations: 39.92 kB / 398.2 MB, free: 7.383 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1254, allocations: 0 / 398.2 MB, free: 7.383 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.356e-05/0.1255, allocations: 15.98 kB / 398.2 MB, free: 7.367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.1257, allocations: 15.94 kB / 398.2 MB, free: 7.352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.1261, allocations: 168 kB / 398.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1264, allocations: 0.6848 MB / 399.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.1265, allocations: 56.08 kB / 399.1 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.1266, allocations: 19.42 kB / 399.2 MB, free: 6.371 MB / 334.1 MB Notification: Performance of SimCode: time 1.644e-06/0.1266, allocations: 0 / 399.2 MB, free: 6.371 MB / 334.1 MB Notification: Performance of Templates: time 0.01339/0.14, allocations: 8.986 MB / 408.2 MB, free: 13.37 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)