Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_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.001098/0.001098, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001211/0.001211, allocations: 191.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 71.12 kB / 0.6711 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2028, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4967/0.6995, allocations: 146.2 MB / 0.9257 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001017/0.6996, allocations: 45.44 kB / 0.9258 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/0.6996, allocations: 1.219 kB / 0.9258 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.665e-05/0.6997, allocations: 6.188 kB / 0.9258 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.884e-05/0.6999, allocations: 13.62 kB / 0.9258 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.7004, allocations: 186 kB / 0.926 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.639e-05/0.7005, allocations: 33.89 kB / 0.926 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 2.811e-05/0.7005, allocations: 5.375 kB / 0.926 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.873e-05/0.7006, allocations: 14.03 kB / 0.926 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/0.7006, allocations: 13.39 kB / 0.926 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.7007, allocations: 3.812 kB / 0.926 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.701, allocations: 201.2 kB / 0.9262 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.701, allocations: 7.578 kB / 0.9262 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.7011, allocations: 7.719 kB / 0.9262 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.7013, allocations: 124.8 kB / 0.9263 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7013, allocations: 7.406 kB / 0.9264 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7013, allocations: 0 / 0.9264 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7013, allocations: 0 / 0.9264 GB, free: 6.273 MB / 0.7325 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.000518/0.7018, allocations: 341.8 kB / 0.9267 GB, free: 21.92 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.7019, allocations: 9.75 kB / 0.9267 GB, free: 21.92 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.7019, allocations: 36.91 kB / 0.9267 GB, free: 21.88 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.7022, allocations: 26.08 kB / 0.9267 GB, free: 21.88 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.7023, allocations: 167.6 kB / 0.9269 GB, free: 21.68 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/0.7024, allocations: 34.77 kB / 0.9269 GB, free: 21.64 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.7024, allocations: 2.125 kB / 0.9269 GB, free: 21.64 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.7025, allocations: 50.42 kB / 0.927 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.7025, allocations: 0 / 0.927 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.7025, allocations: 2.172 kB / 0.927 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.7026, allocations: 1.781 kB / 0.927 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.7026, allocations: 22.84 kB / 0.927 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.7029, allocations: 264.8 kB / 0.9273 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 3.939e-05/0.7029, allocations: 19.86 kB / 0.9273 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.703, allocations: 10.2 kB / 0.9273 GB, free: 21.31 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.7031, allocations: 91.16 kB / 0.9274 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.7031, allocations: 39.09 kB / 0.9274 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=2): time 1.634e-06/0.7032, allocations: 0.6562 kB / 0.9274 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=2): time 0.0002203/0.7034, allocations: 49.27 kB / 0.9275 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.7034, allocations: 55.59 kB / 0.9275 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.933e-05/0.7035, allocations: 107 kB / 0.9276 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.7035, allocations: 37.98 kB / 0.9277 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.7035, allocations: 85.05 kB / 0.9277 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/0.7036, allocations: 5.781 kB / 0.9277 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.7036, allocations: 21.09 kB / 0.9278 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.7037, allocations: 315 kB / 0.9281 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.7037, allocations: 2.906 kB / 0.9281 GB, free: 20.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.039e-05/0.7037, allocations: 27.42 kB / 0.9281 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.7038, allocations: 33.45 kB / 0.9281 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7038, allocations: 0 / 0.9281 GB, free: 20.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.726e-05/0.7039, allocations: 50.88 kB / 0.9282 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.7039, allocations: 6.484 kB / 0.9282 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7039, allocations: 2.469 kB / 0.9282 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.7039, allocations: 0.75 kB / 0.9282 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.704, allocations: 13.11 kB / 0.9282 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.704, allocations: 4.688 kB / 0.9282 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.704, allocations: 8.688 kB / 0.9282 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.704, allocations: 5.344 kB / 0.9282 GB, free: 20.42 MB / 0.7481 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 6.069e-05/0.7041, allocations: 110 kB / 0.9283 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.7041, allocations: 1.25 kB / 0.9283 GB, free: 20.31 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.7041, allocations: 7.5 kB / 0.9283 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.7041, allocations: 0.9688 kB / 0.9283 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7042, allocations: 7.781 kB / 0.9283 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.7042, allocations: 2.797 kB / 0.9283 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.7044, allocations: 361.5 kB / 0.9287 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7044, allocations: 1.031 kB / 0.9287 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.7044, allocations: 6 kB / 0.9287 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7044, allocations: 4.938 kB / 0.9287 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.7045, allocations: 1.781 kB / 0.9287 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.7045, allocations: 0 / 0.9287 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7045, allocations: 1.062 kB / 0.9287 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.077e-05/0.7045, allocations: 78.11 kB / 0.9288 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.7046, allocations: 84.02 kB / 0.9289 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.7046, allocations: 4.484 kB / 0.9289 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.7047, allocations: 6.156 kB / 0.9289 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.7047, allocations: 1.188 kB / 0.9289 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.7047, allocations: 1.844 kB / 0.9289 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.7047, allocations: 81.52 kB / 0.9289 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7047, allocations: 5.188 kB / 0.929 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0001874/0.7049, allocations: 8.594 kB / 0.929 GB, free: 19.65 MB / 0.7481 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 (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.0003047/0.7052, allocations: 0.6225 MB / 0.9296 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.966e-05/0.7053, allocations: 17.09 kB / 0.9296 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7053, allocations: 1.094 kB / 0.9296 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.024e-05/0.7053, allocations: 7.75 kB / 0.9296 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.7056, allocations: 4.797 kB / 0.9296 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.7059, allocations: 160.3 kB / 0.9297 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.7061, allocations: 0.6773 MB / 0.9304 GB, free: 18.19 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.504e-05/0.7061, allocations: 3.656 kB / 0.9304 GB, free: 18.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.7062, allocations: 8.594 kB / 0.9304 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of SimCode: time 2.01e-07/0.7062, allocations: 0 / 0.9304 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1602/0.8664, allocations: 1.31 MB / 0.9317 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003326/0.8668, allocations: 210.6 kB / 0.9319 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.979, allocations: 1.094 kB / 0.9319 GB, free: 17.69 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)