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.000858/0.000858, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000843/0.000843, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8245/0.8245, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 15.98 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1514, allocations: 82.3 MB / 0.5872 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3665/0.518, allocations: 124.9 MB / 0.7092 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001993/0.5182, allocations: 129.9 kB / 0.7093 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.5182, allocations: 0 / 0.7093 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.358e-05/0.5183, allocations: 8.5 kB / 0.7093 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.429e-05/0.5184, allocations: 10.75 kB / 0.7093 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.5187, allocations: 78.5 kB / 0.7094 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.111e-05/0.5188, allocations: 15.06 kB / 0.7094 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.5188, allocations: 2.172 kB / 0.7094 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.5189, allocations: 14.47 kB / 0.7094 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.499e-05/0.5189, allocations: 12.23 kB / 0.7094 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.5189, allocations: 1.094 kB / 0.7094 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.5192, allocations: 59.16 kB / 0.7095 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.5192, allocations: 5.734 kB / 0.7095 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.5192, allocations: 28.42 kB / 0.7095 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.632e-05/0.5193, allocations: 33.34 kB / 0.7095 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5193, allocations: 4 kB / 0.7095 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5194, allocations: 0.8125 kB / 0.7095 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.5194, allocations: 0 / 0.7095 GB, free: 3.395 MB / 0.5294 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.0003648/0.5197, allocations: 331.8 kB / 0.7099 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5198, allocations: 10.2 kB / 0.7099 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.52, allocations: 23.27 kB / 0.7099 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.5202, allocations: 167.2 kB / 0.71 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.5202, allocations: 28.95 kB / 0.7101 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.5202, allocations: 3.188 kB / 0.7101 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.5204, allocations: 47.12 kB / 0.7101 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.5204, allocations: 2 kB / 0.7101 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5204, allocations: 3.984 kB / 0.7101 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.5205, allocations: 9.703 kB / 0.7101 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.5205, allocations: 18.8 kB / 0.7102 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.5209, allocations: 256.6 kB / 0.7104 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.989e-05/0.521, allocations: 24.42 kB / 0.7104 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-06/0.521, allocations: 1.438 kB / 0.7104 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.521, allocations: 35.12 kB / 0.7105 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.521, allocations: 1.406 kB / 0.7105 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001392/0.5212, allocations: 40 kB / 0.7105 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.5212, allocations: 55.34 kB / 0.7106 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/0.5213, allocations: 108.4 kB / 0.7107 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.5214, allocations: 26.8 kB / 0.7107 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.5214, allocations: 93.73 kB / 0.7108 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.5214, allocations: 13.92 kB / 0.7108 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.5214, allocations: 0 / 0.7108 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5216, allocations: 313.6 kB / 0.7111 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.5216, allocations: 3.641 kB / 0.7111 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/0.5216, allocations: 25.86 kB / 0.7111 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.5216, allocations: 5.297 kB / 0.7111 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5217, allocations: 4 kB / 0.7111 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.3e-05/0.5217, allocations: 57.25 kB / 0.7112 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5218, allocations: 6.312 kB / 0.7112 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5218, allocations: 0 / 0.7112 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.5218, allocations: 1.406 kB / 0.7112 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.5219, allocations: 11.02 kB / 0.7112 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5219, allocations: 1.281 kB / 0.7112 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.5219, allocations: 5.25 kB / 0.7112 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.5219, allocations: 3.078 kB / 0.7112 GB, free: 1.676 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/0.522, allocations: 112.8 kB / 0.7113 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.522, allocations: 1.094 kB / 0.7113 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.5221, allocations: 9.031 kB / 0.7113 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5221, allocations: 0.7031 kB / 0.7113 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5221, allocations: 5.078 kB / 0.7113 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5221, allocations: 0 / 0.7113 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.5223, allocations: 341.6 kB / 0.7116 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5224, allocations: 4.031 kB / 0.7117 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.5224, allocations: 1.984 kB / 0.7117 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5224, allocations: 1.031 kB / 0.7117 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.5224, allocations: 3.953 kB / 0.7117 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5224, allocations: 3.938 kB / 0.7117 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.5224, allocations: 1.969 kB / 0.7117 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.175e-05/0.5225, allocations: 60.69 kB / 0.7117 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.5225, allocations: 79.77 kB / 0.7118 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.5226, allocations: 8.719 kB / 0.7118 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.578e-05/0.5226, allocations: 10.44 kB / 0.7118 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.5227, allocations: 1.688 kB / 0.7118 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-06/0.5227, allocations: 0 / 0.7118 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.5227, allocations: 82.3 kB / 0.7119 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.575e-06/0.5227, allocations: 1.156 kB / 0.7119 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001828/0.5229, allocations: 13.84 kB / 0.7119 GB, free: 0.9023 MB / 0.5294 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 (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.0001024/0.523, allocations: 101.1 kB / 0.712 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.044e-05/0.5231, allocations: 12.95 kB / 0.712 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5231, allocations: 1.156 kB / 0.712 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-06/0.5231, allocations: 1.344 kB / 0.712 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.5233, allocations: 7.703 kB / 0.712 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.5235, allocations: 121.9 kB / 0.7121 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.5238, allocations: 0.6869 MB / 0.7128 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.061e-05/0.5238, allocations: 9.516 kB / 0.7128 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.5239, allocations: 8.875 kB / 0.7128 GB, free: 15.98 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.5239, allocations: 0 / 0.7128 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Templates: time 0.002078/0.5259, allocations: 471.3 kB / 0.7133 GB, free: 15.94 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: