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.005208/0.005208, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001131/0.001131, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.354/1.354, allocations: 205.1 MB / 222.6 MB, free: 4.555 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.00116/0.00116, allocations: 50.62 kB / 326.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08014/0.08131, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002089/0.08344, allocations: 1.35 MB / 374.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.09539, allocations: 12.08 MB / 386.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.09547, allocations: 4 kB / 386.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.09553, allocations: 3.984 kB / 386.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.09815, allocations: 1.057 MB / 387.7 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.09951, allocations: 0.6295 MB / 388.3 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.09962, allocations: 63.66 kB / 388.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.09967, allocations: 7.984 kB / 388.4 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.919e-05/0.09973, allocations: 31.91 kB / 388.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.09982, allocations: 31.91 kB / 388.4 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.09984, allocations: 0 / 388.4 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.1026, allocations: 1.615 MB / 390 MB, free: 384 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.1026, allocations: 7.984 kB / 390 MB, free: 376 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.1026, allocations: 31.84 kB / 390.1 MB, free: 344 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.1044, allocations: 1.06 MB / 391.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1044, allocations: 3.938 kB / 391.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1044, allocations: 0 / 391.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1045, 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.0007682/0.1052, allocations: 0.5522 MB / 391.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1053, allocations: 8.031 kB / 391.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.1054, allocations: 12.88 kB / 391.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.1056, allocations: 188.2 kB / 391.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1056, allocations: 384 / 391.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1057, allocations: 4.375 kB / 391.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1058, allocations: 71.45 kB / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1059, allocations: 4 kB / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1059, allocations: 0 / 392 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.1059, allocations: 4 kB / 392 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.106, allocations: 19.98 kB / 392 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.1062, allocations: 170.5 kB / 392.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.1065, allocations: 81.22 kB / 392.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.1066, allocations: 25.77 kB / 392.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006209/0.1128, allocations: 3.301 MB / 395.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1128, allocations: 38.44 kB / 395.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1129, allocations: 3.938 kB / 395.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003107/0.1132, allocations: 81.89 kB / 395.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.1132, allocations: 81.09 kB / 395.8 MB, free: 9.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.847e-05/0.1133, allocations: 122.1 kB / 395.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1134, allocations: 25.7 kB / 395.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.1134, allocations: 84.14 kB / 396 MB, free: 9.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.1134, allocations: 19.83 kB / 396 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1135, allocations: 21.7 kB / 396 MB, free: 9.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1136, allocations: 314.8 kB / 396.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.1136, allocations: 11.98 kB / 396.4 MB, free: 9.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.1137, allocations: 29.7 kB / 396.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1138, allocations: 45.8 kB / 396.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1138, allocations: 4 kB / 396.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001588/0.114, allocations: 69.58 kB / 396.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.114, allocations: 9.078 kB / 396.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.114, allocations: 0 / 396.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1141, allocations: 0 / 396.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.1141, allocations: 15.94 kB / 396.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1142, allocations: 8.062 kB / 396.5 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.1142, allocations: 4 kB / 396.5 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.1142, allocations: 7.984 kB / 396.5 MB, free: 9.156 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.102e-05/0.1143, allocations: 105.8 kB / 396.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.1143, allocations: 11.89 kB / 396.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.1146, allocations: 105.5 kB / 396.8 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1146, allocations: 0 / 396.8 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1146, allocations: 0 / 396.8 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1146, allocations: 4 kB / 396.8 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.1148, allocations: 169.6 kB / 396.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1148, allocations: 0 / 396.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.1149, allocations: 19.86 kB / 397 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1149, allocations: 7.938 kB / 397 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1149, allocations: 0 / 397 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1149, allocations: 0 / 397 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1149, allocations: 4 kB / 397 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.1151, allocations: 101.9 kB / 397.1 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.1152, allocations: 89.03 kB / 397.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.1152, allocations: 0 / 397.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.1153, allocations: 8 kB / 397.2 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.1153, allocations: 11.92 kB / 397.2 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.1154, allocations: 4 kB / 397.2 MB, free: 8.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.882e-05/0.1154, allocations: 91.27 kB / 397.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1154, allocations: 0 / 397.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007357/0.1162, allocations: 334.8 kB / 397.6 MB, free: 8.004 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.001095/0.1173, allocations: 0.5799 MB / 398.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.1175, allocations: 39.91 kB / 398.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1175, allocations: 0 / 398.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.22e-05/0.1175, allocations: 12 kB / 398.2 MB, free: 7.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.1178, allocations: 20.3 kB / 398.2 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.1182, allocations: 164 kB / 398.4 MB, free: 7.152 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1184, allocations: 0.6844 MB / 399.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.1186, allocations: 56.08 kB / 399.1 MB, free: 6.387 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.1186, allocations: 19.42 kB / 399.2 MB, free: 6.367 MB / 334.1 MB Notification: Performance of SimCode: time 1.482e-06/0.1186, allocations: 0 / 399.2 MB, free: 6.367 MB / 334.1 MB Notification: Performance of Templates: time 0.01281/0.1314, allocations: 8.986 MB / 408.1 MB, free: 13.36 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)