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.001642/0.001642, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.001666/0.001666, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.496/1.496, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8668/0.8668, allocations: 135.2 MB / 426.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 66.77 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.169, allocations: 80.92 MB / 0.6654 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5897/0.7586, allocations: 148.3 MB / 0.8102 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.7588, allocations: 51.56 kB / 0.8102 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.7588, allocations: 1.125 kB / 0.8102 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.7589, allocations: 3.938 kB / 0.8102 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.637e-05/0.759, allocations: 14.2 kB / 0.8102 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.7595, allocations: 110.6 kB / 0.8103 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.393e-05/0.7596, allocations: 35.56 kB / 0.8104 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.7596, allocations: 2.844 kB / 0.8104 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.857e-05/0.7596, allocations: 17.39 kB / 0.8104 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.7597, allocations: 7.781 kB / 0.8104 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.7597, allocations: 3.484 kB / 0.8104 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.76, allocations: 86.97 kB / 0.8105 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.76, allocations: 10.23 kB / 0.8105 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.76, allocations: 12.14 kB / 0.8105 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.7602, allocations: 84.38 kB / 0.8106 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7602, allocations: 0 / 0.8106 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7602, allocations: 1.344 kB / 0.8106 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.7602, allocations: 3.938 kB / 0.8106 GB, free: 11.47 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.000468/0.7607, allocations: 338.2 kB / 0.8109 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.7607, allocations: 10.92 kB / 0.8109 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.761, allocations: 17.08 kB / 0.8109 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.7611, allocations: 166.3 kB / 0.8111 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-05/0.7612, allocations: 36.08 kB / 0.8111 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.7612, allocations: 0 / 0.8111 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.7613, allocations: 46.89 kB / 0.8112 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7613, allocations: 0 / 0.8112 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.7614, allocations: 0 / 0.8112 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.7614, allocations: 2.344 kB / 0.8112 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.835e-05/0.7614, allocations: 24.47 kB / 0.8112 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.7619, allocations: 263.7 kB / 0.8114 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.875e-05/0.7619, allocations: 18.56 kB / 0.8115 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.7619, allocations: 7.391 kB / 0.8115 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-06/0.7619, allocations: 0 / 0.8115 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.762, allocations: 32.53 kB / 0.8115 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.762, allocations: 4 kB / 0.8115 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.7621, allocations: 47.53 kB / 0.8116 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.7621, allocations: 51.41 kB / 0.8116 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/0.7622, allocations: 115.3 kB / 0.8117 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.7623, allocations: 25.7 kB / 0.8117 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.7623, allocations: 88.03 kB / 0.8118 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.315e-06/0.7623, allocations: 12.67 kB / 0.8118 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.7623, allocations: 15.62 kB / 0.8118 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7625, allocations: 320.9 kB / 0.8122 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.7625, allocations: 5.125 kB / 0.8122 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.27e-05/0.7625, allocations: 27.48 kB / 0.8122 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.7626, allocations: 31.52 kB / 0.8122 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7626, allocations: 4 kB / 0.8122 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.196e-05/0.7627, allocations: 54.94 kB / 0.8123 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.7627, allocations: 3.406 kB / 0.8123 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7627, allocations: 1.438 kB / 0.8123 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.7627, allocations: 1.875 kB / 0.8123 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/0.7627, allocations: 5.062 kB / 0.8123 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.7628, allocations: 6.094 kB / 0.8123 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.7628, allocations: 0 / 0.8123 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.7628, allocations: 2.688 kB / 0.8123 GB, free: 9.734 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 8.855e-05/0.7629, allocations: 121.8 kB / 0.8124 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.7629, allocations: 9.641 kB / 0.8124 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.7629, allocations: 3.125 kB / 0.8124 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7629, allocations: 2.484 kB / 0.8124 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.763, allocations: 6.781 kB / 0.8124 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.763, allocations: 0 / 0.8124 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.7632, allocations: 340.6 kB / 0.8127 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7632, allocations: 4.031 kB / 0.8128 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.445e-05/0.7633, allocations: 5.156 kB / 0.8128 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.7633, allocations: 3.938 kB / 0.8128 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.7633, allocations: 0 / 0.8128 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.7633, allocations: 0 / 0.8128 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7633, allocations: 1.938 kB / 0.8128 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.395e-05/0.7633, allocations: 57.48 kB / 0.8128 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.7634, allocations: 80.36 kB / 0.8129 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.7634, allocations: 15.16 kB / 0.8129 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.7635, allocations: 4.391 kB / 0.8129 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.7635, allocations: 0 / 0.8129 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.7635, allocations: 0.8125 kB / 0.8129 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.988e-05/0.7636, allocations: 82.94 kB / 0.813 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.7636, allocations: 0 / 0.813 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001894/0.7637, allocations: 9.219 kB / 0.813 GB, free: 8.965 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.0001029/0.7638, allocations: 103.2 kB / 0.8131 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.865e-05/0.7639, allocations: 12.28 kB / 0.8131 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7639, allocations: 0 / 0.8131 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.241e-06/0.7639, allocations: 4.453 kB / 0.8131 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.7642, allocations: 13.09 kB / 0.8131 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.7645, allocations: 136.2 kB / 0.8133 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.7647, allocations: 0.674 MB / 0.8139 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.7648, allocations: 14.28 kB / 0.8139 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.7648, allocations: 3.938 kB / 0.8139 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of Templates: time 0.002191/0.767, allocations: 0.5647 MB / 0.8145 GB, free: 8.008 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)