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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008231/0.008231, allocations: 104.2 kB / 15.74 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.001354/0.001354, allocations: 196.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7979/0.7979, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 58.34 kB / 0.5856 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1935, allocations: 80.94 MB / 0.6647 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6756/0.8692, allocations: 147.8 MB / 0.809 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001477/0.8694, allocations: 50.78 kB / 0.8091 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.8694, allocations: 7.344 kB / 0.8091 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.8696, allocations: 0 / 0.8091 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.008e-05/0.8697, allocations: 14.16 kB / 0.8091 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004931/0.8702, allocations: 108.7 kB / 0.8092 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.865e-05/0.8703, allocations: 31.55 kB / 0.8092 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.8703, allocations: 5.938 kB / 0.8092 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.039e-05/0.8704, allocations: 13.16 kB / 0.8092 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.8705, allocations: 19.31 kB / 0.8093 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.8705, allocations: 1.156 kB / 0.8093 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.8708, allocations: 87.09 kB / 0.8093 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.8708, allocations: 8.891 kB / 0.8094 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.8709, allocations: 14.5 kB / 0.8094 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.871, allocations: 75.31 kB / 0.8094 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.871, allocations: 0 / 0.8094 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8711, allocations: 0 / 0.8094 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.8711, allocations: 0 / 0.8094 GB, free: 11.54 MB / 0.5919 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.0004462/0.8715, allocations: 338 kB / 0.8098 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.8716, allocations: 11.42 kB / 0.8098 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.8718, allocations: 19.75 kB / 0.8098 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.8719, allocations: 165.6 kB / 0.8099 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/0.872, allocations: 33.8 kB / 0.81 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.872, allocations: 2.5 kB / 0.81 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.8722, allocations: 47.56 kB / 0.81 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.8722, allocations: 0 / 0.81 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.8722, allocations: 0 / 0.81 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.8722, allocations: 11.12 kB / 0.81 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.249e-05/0.8723, allocations: 20.95 kB / 0.8101 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.8727, allocations: 259.3 kB / 0.8103 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.085e-05/0.8727, allocations: 16.73 kB / 0.8103 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.8728, allocations: 4.859 kB / 0.8103 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.8728, allocations: 8.047 kB / 0.8103 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.8728, allocations: 38.31 kB / 0.8104 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.8728, allocations: 0 / 0.8104 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000156/0.873, allocations: 34.14 kB / 0.8104 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.873, allocations: 55.94 kB / 0.8105 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.8731, allocations: 108.8 kB / 0.8106 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.8732, allocations: 25.7 kB / 0.8106 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.8732, allocations: 95.2 kB / 0.8107 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.8732, allocations: 10.31 kB / 0.8107 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.8733, allocations: 17.72 kB / 0.8107 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.8734, allocations: 315.9 kB / 0.811 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.8735, allocations: 2.5 kB / 0.811 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.8735, allocations: 31.64 kB / 0.811 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/0.8736, allocations: 32.05 kB / 0.8111 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8736, allocations: 0 / 0.8111 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.578e-05/0.8737, allocations: 52.84 kB / 0.8111 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.8737, allocations: 4.969 kB / 0.8111 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.8737, allocations: 2.781 kB / 0.8111 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.8737, allocations: 0 / 0.8111 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.8738, allocations: 8.688 kB / 0.8111 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.8738, allocations: 15.56 kB / 0.8111 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.8739, allocations: 8 kB / 0.8112 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.8739, allocations: 1.406 kB / 0.8112 GB, free: 9.797 MB / 0.5919 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 9.88e-05/0.874, allocations: 112.2 kB / 0.8113 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.874, allocations: 2.781 kB / 0.8113 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.874, allocations: 5.656 kB / 0.8113 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.8741, allocations: 0 / 0.8113 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.8741, allocations: 3.938 kB / 0.8113 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.8741, allocations: 2.781 kB / 0.8113 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.8744, allocations: 348.2 kB / 0.8116 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.8744, allocations: 3.984 kB / 0.8116 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-05/0.8744, allocations: 3.938 kB / 0.8116 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.8744, allocations: 3.938 kB / 0.8116 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.8744, allocations: 2.719 kB / 0.8116 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8744, allocations: 0 / 0.8116 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8744, allocations: 0 / 0.8116 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.306e-05/0.8745, allocations: 62.86 kB / 0.8117 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.8746, allocations: 81.02 kB / 0.8118 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.8746, allocations: 7.812 kB / 0.8118 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.08e-05/0.8747, allocations: 4.344 kB / 0.8118 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.8747, allocations: 5.172 kB / 0.8118 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.8747, allocations: 0 / 0.8118 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.946e-05/0.8748, allocations: 81.84 kB / 0.8119 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.8748, allocations: 2.094 kB / 0.8119 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001921/0.875, allocations: 5.281 kB / 0.8119 GB, free: 9.039 MB / 0.5919 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 0.0001123/0.8751, allocations: 102.6 kB / 0.812 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.8752, allocations: 20.72 kB / 0.812 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8752, allocations: 0 / 0.812 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/0.8753, allocations: 1.625 kB / 0.812 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.8756, allocations: 8.594 kB / 0.812 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.8759, allocations: 115 kB / 0.8121 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.8762, allocations: 0.6764 MB / 0.8128 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.252e-05/0.8763, allocations: 5.344 kB / 0.8128 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.8763, allocations: 10.88 kB / 0.8128 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of SimCode: time 1.823e-06/0.8763, allocations: 0 / 0.8128 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of Templates: time 0.003013/0.8793, allocations: 0.5049 MB / 0.8133 GB, free: 8.07 MB / 0.5919 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)