Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8574/0.8574, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.657/1.657, allocations: 222.9 MB / 404.7 MB, free: 6.051 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 99.61 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 47.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1611, allocations: 80.43 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5974/0.7586, allocations: 145.6 MB / 0.7843 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001666/0.7588, allocations: 62.36 kB / 0.7843 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.7588, allocations: 0 / 0.7843 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.759, allocations: 4 kB / 0.7844 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.036e-05/0.7591, allocations: 17.16 kB / 0.7844 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.7596, allocations: 94.48 kB / 0.7845 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.7597, allocations: 62.22 kB / 0.7845 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.7598, allocations: 0 / 0.7845 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.7598, allocations: 18.08 kB / 0.7845 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.7599, allocations: 15.47 kB / 0.7845 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.7599, allocations: 4 kB / 0.7846 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.7602, allocations: 80.28 kB / 0.7846 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.7603, allocations: 6.625 kB / 0.7846 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.7603, allocations: 15.39 kB / 0.7847 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.7605, allocations: 74.42 kB / 0.7847 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7605, allocations: 0 / 0.7847 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.42e-07/0.7605, allocations: 0 / 0.7847 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.7605, allocations: 2.812 kB / 0.7847 GB, free: 14.59 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004479/0.761, allocations: 346.4 kB / 0.7851 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.761, allocations: 10.19 kB / 0.7851 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.7613, allocations: 14.67 kB / 0.7851 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.7614, allocations: 167.3 kB / 0.7852 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.7615, allocations: 33.58 kB / 0.7853 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.7615, allocations: 6.078 kB / 0.7853 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.7616, allocations: 47.92 kB / 0.7853 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.7616, allocations: 6.781 kB / 0.7853 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.7617, allocations: 0 / 0.7853 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.7617, allocations: 0 / 0.7853 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.854e-05/0.7617, allocations: 20.33 kB / 0.7853 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.7622, allocations: 260 kB / 0.7856 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.73e-05/0.7623, allocations: 21.23 kB / 0.7856 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.7623, allocations: 8.859 kB / 0.7856 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.7623, allocations: 0 / 0.7856 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.7623, allocations: 32.69 kB / 0.7857 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.7623, allocations: 0 / 0.7857 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.7625, allocations: 34.42 kB / 0.7857 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.7625, allocations: 58 kB / 0.7857 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.7626, allocations: 111.9 kB / 0.7859 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.7626, allocations: 33.77 kB / 0.7859 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.7627, allocations: 90.23 kB / 0.786 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.7627, allocations: 7.906 kB / 0.786 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.7627, allocations: 20.55 kB / 0.786 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7629, allocations: 317.6 kB / 0.7863 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.7629, allocations: 6.094 kB / 0.7863 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/0.7629, allocations: 23.84 kB / 0.7863 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/0.763, allocations: 34.11 kB / 0.7864 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.763, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.749e-05/0.7631, allocations: 55.16 kB / 0.7864 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.7631, allocations: 6.594 kB / 0.7864 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.7631, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.7631, allocations: 2.125 kB / 0.7864 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.919e-05/0.7632, allocations: 9.938 kB / 0.7864 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.7632, allocations: 3.938 kB / 0.7864 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.7632, allocations: 2.125 kB / 0.7864 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.7632, allocations: 2.594 kB / 0.7864 GB, free: 12.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.908e-05/0.7633, allocations: 116 kB / 0.7865 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.7634, allocations: 3.906 kB / 0.7866 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.7634, allocations: 5.656 kB / 0.7866 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.7634, allocations: 0 / 0.7866 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.7634, allocations: 3.938 kB / 0.7866 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.7634, allocations: 4 kB / 0.7866 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.7637, allocations: 346.9 kB / 0.7869 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7637, allocations: 2.562 kB / 0.7869 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.7637, allocations: 3.984 kB / 0.7869 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.7637, allocations: 3.938 kB / 0.7869 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.7637, allocations: 5.656 kB / 0.7869 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.7637, allocations: 0 / 0.7869 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7637, allocations: 0 / 0.7869 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.764, allocations: 0.6093 MB / 0.7875 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.7641, allocations: 77.11 kB / 0.7876 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.7641, allocations: 0 / 0.7876 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.7642, allocations: 6.141 kB / 0.7876 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.7642, allocations: 2.625 kB / 0.7876 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.7642, allocations: 4.031 kB / 0.7876 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.317e-05/0.7643, allocations: 83.94 kB / 0.7877 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.7643, allocations: 0 / 0.7877 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003043/0.7646, allocations: 7.5 kB / 0.7877 GB, free: 11.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 9.844e-05/0.7647, allocations: 102.5 kB / 0.7878 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.178e-05/0.7648, allocations: 21.38 kB / 0.7878 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7648, allocations: 0 / 0.7878 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.121e-06/0.7648, allocations: 11.03 kB / 0.7878 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.765, allocations: 2.781 kB / 0.7878 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.7654, allocations: 213.7 kB / 0.788 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.7656, allocations: 0.6756 MB / 0.7887 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.06e-05/0.7657, allocations: 16.47 kB / 0.7887 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.7657, allocations: 7.438 kB / 0.7887 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of SimCode: time 2.1e-07/0.7657, allocations: 2.906 kB / 0.7887 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.002573/0.7683, allocations: 493 kB / 0.7892 GB, free: 10.07 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)