Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001087, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001414/0.001414, allocations: 172.7 kB / 15.95 MB, free: 208 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.396/1.396, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7523/0.7523, allocations: 132.3 MB / 423.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003218, allocations: 8 kB / 0.5035 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4888, allocations: 81.57 MB / 0.5831 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1647/0.6535, allocations: 134.5 MB / 0.7144 GB, free: 9.699 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001366/0.6537, allocations: 51.88 kB / 0.7145 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.6537, allocations: 0 / 0.7145 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.686e-05/0.6538, allocations: 0 / 0.7145 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.288e-05/0.6539, allocations: 15.92 kB / 0.7145 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.6546, allocations: 139.5 kB / 0.7146 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.6547, allocations: 47.83 kB / 0.7147 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.6547, allocations: 7.984 kB / 0.7147 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.924e-05/0.6548, allocations: 11.98 kB / 0.7147 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.6549, allocations: 23.92 kB / 0.7147 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.6549, allocations: 0 / 0.7147 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.6552, allocations: 103.7 kB / 0.7148 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.6553, allocations: 11.98 kB / 0.7148 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.6553, allocations: 25.7 kB / 0.7149 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.6555, allocations: 58.19 kB / 0.7149 GB, free: 9.207 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.6555, allocations: 0 / 0.7149 GB, free: 9.207 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6555, allocations: 0 / 0.7149 GB, free: 9.207 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.6555, allocations: 0 / 0.7149 GB, free: 9.207 MB / 0.545 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.0004412/0.656, allocations: 341.4 kB / 0.7152 GB, free: 8.828 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.656, allocations: 8.031 kB / 0.7153 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.6561, allocations: 34.56 kB / 0.7153 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/0.6564, allocations: 27.92 kB / 0.7153 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.6565, allocations: 163.1 kB / 0.7155 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.578e-05/0.6566, allocations: 33.69 kB / 0.7155 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.6566, allocations: 0 / 0.7155 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.6567, allocations: 49.62 kB / 0.7155 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.6568, allocations: 4 kB / 0.7156 GB, free: 8.453 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.6568, allocations: 3.984 kB / 0.7156 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.6568, allocations: 7.953 kB / 0.7156 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.6569, allocations: 19.98 kB / 0.7156 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.6572, allocations: 253 kB / 0.7158 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.99e-05/0.6573, allocations: 26.52 kB / 0.7159 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.6573, allocations: 16.91 kB / 0.7159 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.6575, allocations: 89.09 kB / 0.716 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.6575, allocations: 38.52 kB / 0.716 GB, free: 7.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6575, allocations: 0 / 0.716 GB, free: 7.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.00022/0.6577, allocations: 49.59 kB / 0.716 GB, free: 7.863 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.6578, allocations: 55.53 kB / 0.7161 GB, free: 7.797 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.5e-05/0.6578, allocations: 101.9 kB / 0.7162 GB, free: 7.688 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.6579, allocations: 29.64 kB / 0.7162 GB, free: 7.652 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.6579, allocations: 95.97 kB / 0.7163 GB, free: 7.555 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.754e-06/0.6579, allocations: 7.938 kB / 0.7163 GB, free: 7.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.6579, allocations: 0 / 0.7163 GB, free: 7.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.658, allocations: 310.8 kB / 0.7166 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.6581, allocations: 8 kB / 0.7166 GB, free: 7.227 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.6581, allocations: 30.56 kB / 0.7166 GB, free: 7.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.208e-05/0.6581, allocations: 4 kB / 0.7167 GB, free: 7.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6581, allocations: 0 / 0.7167 GB, free: 7.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.6e-05/0.6582, allocations: 61.53 kB / 0.7167 GB, free: 7.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.6582, allocations: 8 kB / 0.7167 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.6583, allocations: 3.953 kB / 0.7167 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6583, allocations: 4.094 kB / 0.7167 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.6583, allocations: 11.94 kB / 0.7167 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6583, allocations: 0 / 0.7167 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.6584, allocations: 0 / 0.7167 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.6584, allocations: 4 kB / 0.7167 GB, free: 7.086 MB / 0.545 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 7.11e-05/0.6585, allocations: 113.8 kB / 0.7168 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.6585, allocations: 4 kB / 0.7169 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.6585, allocations: 7.125 kB / 0.7169 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.6585, allocations: 3.953 kB / 0.7169 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.6585, allocations: 4 kB / 0.7169 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.6585, allocations: 0 / 0.7169 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.6588, allocations: 363.6 kB / 0.7172 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6588, allocations: 4 kB / 0.7172 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.6589, allocations: 3.953 kB / 0.7172 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6589, allocations: 4 kB / 0.7172 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.6589, allocations: 0 / 0.7172 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6589, allocations: 4.062 kB / 0.7172 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6589, allocations: 0 / 0.7172 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.277e-05/0.659, allocations: 74.17 kB / 0.7173 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.659, allocations: 77.11 kB / 0.7174 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.659, allocations: 7.938 kB / 0.7174 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.6591, allocations: 7.984 kB / 0.7174 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.6591, allocations: 11.97 kB / 0.7174 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.6591, allocations: 0 / 0.7174 GB, free: 6.297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.6592, allocations: 83.28 kB / 0.7175 GB, free: 6.215 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6592, allocations: 0 / 0.7175 GB, free: 6.215 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001878/0.6594, allocations: 4 kB / 0.7175 GB, free: 6.211 MB / 0.545 GB 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 (2): * Single equations (assignments): 2 * 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.0003671/0.6598, allocations: 0.6132 MB / 0.7181 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.821e-05/0.6599, allocations: 19.92 kB / 0.7181 GB, free: 5.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6599, allocations: 0 / 0.7181 GB, free: 5.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/0.6599, allocations: 4 kB / 0.7181 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.6601, allocations: 8.281 kB / 0.7181 GB, free: 5.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.6605, allocations: 170.9 kB / 0.7183 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.6607, allocations: 0.677 MB / 0.7189 GB, free: 4.621 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.26e-05/0.6608, allocations: 11.98 kB / 0.7189 GB, free: 4.609 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.6608, allocations: 7.438 kB / 0.719 GB, free: 4.602 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.6609, allocations: 0 / 0.719 GB, free: 4.602 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01197/0.6728, allocations: 1.219 MB / 0.7201 GB, free: 3.535 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.673, allocations: 172.2 kB / 0.7203 GB, free: 3.301 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.309, allocations: 0 / 0.7203 GB, free: 3.301 MB / 0.545 GB (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: