Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 88.16 kB / 16.31 MB, free: 5.559 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.001231/0.001231, allocations: 180.4 kB / 17.21 MB, free: 5.477 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.349/1.349, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.0004407/0.0004408, allocations: 8 kB / 280.1 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08189/0.08234, allocations: 47.58 MB / 327.7 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001453/0.08384, allocations: 1.075 MB / 328.8 MB, free: 2.984 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02736/0.1112, allocations: 22.17 MB / 351 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.1113, allocations: 0 / 351 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.1114, allocations: 7.922 kB / 351 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.1231, allocations: 4.214 MB / 355.2 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.1237, allocations: 211.1 kB / 355.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1239, allocations: 83.62 kB / 355.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.124, allocations: 4 kB / 355.5 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.853e-05/0.124, allocations: 31.89 kB / 355.5 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.1241, allocations: 43.83 kB / 355.6 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1242, allocations: 4 kB / 355.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01294/0.1371, allocations: 7.654 MB / 363.2 MB, free: 496 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.1372, allocations: 11.98 kB / 363.2 MB, free: 484 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.1372, allocations: 37.64 kB / 363.3 MB, free: 440 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004445/0.1417, allocations: 2.776 MB / 366 MB, free: 13.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1417, allocations: 0 / 366 MB, free: 13.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1417, allocations: 0 / 366 MB, free: 13.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1417, allocations: 0 / 366 MB, free: 13.64 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.002001/0.1437, allocations: 0.8926 MB / 366.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1438, allocations: 8.031 kB / 366.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.1438, allocations: 11.84 kB / 366.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.144, allocations: 187 kB / 367.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.144, allocations: 0 / 367.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.144, allocations: 8 kB / 367.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1442, allocations: 75.31 kB / 367.2 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1442, allocations: 4 kB / 367.2 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1442, allocations: 0 / 367.2 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1442, allocations: 0 / 367.2 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.1444, allocations: 35.97 kB / 367.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.1446, allocations: 194.5 kB / 367.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.1449, allocations: 101.1 kB / 367.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.556e-05/0.1449, allocations: 29.77 kB / 367.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.145, allocations: 8 kB / 367.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.145, allocations: 46.5 kB / 367.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.145, allocations: 0 / 367.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002879/0.1453, allocations: 101.5 kB / 367.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.1454, allocations: 81.11 kB / 367.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.1455, allocations: 138 kB / 367.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1455, allocations: 25.7 kB / 368 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.1456, allocations: 84.14 kB / 368 MB, free: 11.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.1456, allocations: 19.72 kB / 368.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.1456, allocations: 4 kB / 368.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.1457, allocations: 322.8 kB / 368.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.1458, allocations: 15.98 kB / 368.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.325e-05/0.1458, allocations: 29.7 kB / 368.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.631e-05/0.1459, allocations: 16 kB / 368.4 MB, free: 11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1459, allocations: 0 / 368.4 MB, free: 11 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001647/0.1461, allocations: 94 kB / 368.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1461, allocations: 4.375 kB / 368.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1461, allocations: 0 / 368.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1461, allocations: 3.938 kB / 368.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.1462, allocations: 12 kB / 368.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1462, allocations: 7.922 kB / 368.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.1463, allocations: 11.83 kB / 368.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1463, allocations: 4 kB / 368.6 MB, free: 10.86 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.124e-05/0.1464, allocations: 125.7 kB / 368.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.1464, allocations: 4 kB / 368.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.1466, allocations: 97.48 kB / 368.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1466, allocations: 0 / 368.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1466, allocations: 0 / 368.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1466, allocations: 0 / 368.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.1468, allocations: 177.5 kB / 369 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1468, allocations: 0 / 369 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.1468, allocations: 19.98 kB / 369 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1468, allocations: 4 kB / 369 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.1469, allocations: 0 / 369 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1469, allocations: 4 kB / 369 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1469, allocations: 0 / 369 MB, free: 10.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.147, allocations: 109.9 kB / 369.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.1471, allocations: 96.94 kB / 369.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1472, allocations: 4 kB / 369.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.1472, allocations: 8 kB / 369.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.1473, allocations: 7.984 kB / 369.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1473, allocations: 0 / 369.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.087e-05/0.1474, allocations: 111.2 kB / 369.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1474, allocations: 0 / 369.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002134/0.1495, allocations: 0.9174 MB / 370.2 MB, free: 9.078 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003785/0.1533, allocations: 1.242 MB / 371.5 MB, free: 7.832 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1535, allocations: 47.91 kB / 371.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1535, allocations: 0 / 371.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.1536, allocations: 27.98 kB / 371.6 MB, free: 7.758 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.1538, allocations: 19.94 kB / 371.6 MB, free: 7.738 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.1542, allocations: 211.3 kB / 371.8 MB, free: 7.504 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1545, allocations: 0.6887 MB / 372.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.599e-05/0.1545, allocations: 15.77 kB / 372.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.1546, allocations: 15.44 kB / 372.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1546, allocations: 0 / 372.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of Templates: time 0.1811/0.3357, allocations: 28.84 MB / 401.3 MB, free: 40.62 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1)