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.001228/0.001228, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.221/1.221, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.492/1.492, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001237/0.001237, allocations: 67.16 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1542, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4107/0.565, allocations: 148.3 MB / 0.9282 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001297/0.5651, allocations: 55.33 kB / 0.9283 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.5652, allocations: 0 / 0.9283 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.5653, allocations: 3.984 kB / 0.9283 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.506e-05/0.5654, allocations: 19.97 kB / 0.9283 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006935/0.5661, allocations: 195.9 kB / 0.9285 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.267e-05/0.5662, allocations: 35.19 kB / 0.9285 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.313e-05/0.5662, allocations: 2.562 kB / 0.9285 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.32e-05/0.5663, allocations: 16.45 kB / 0.9286 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.5663, allocations: 13.89 kB / 0.9286 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.5664, allocations: 0 / 0.9286 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004288/0.5668, allocations: 200.1 kB / 0.9288 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.5669, allocations: 5.781 kB / 0.9288 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.5669, allocations: 15.3 kB / 0.9288 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.5672, allocations: 109 kB / 0.9289 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5672, allocations: 6.766 kB / 0.9289 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5672, allocations: 0 / 0.9289 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5672, allocations: 0 / 0.9289 GB, free: 3.008 MB / 0.7169 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.0005308/0.5677, allocations: 340.8 kB / 0.9292 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.5678, allocations: 10.67 kB / 0.9292 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.5678, allocations: 31.36 kB / 0.9293 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003553/0.5682, allocations: 31.33 kB / 0.9293 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.5684, allocations: 163.2 kB / 0.9294 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/0.5684, allocations: 35.72 kB / 0.9295 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.5685, allocations: 2.312 kB / 0.9295 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.5686, allocations: 53.12 kB / 0.9295 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.5686, allocations: 0.6094 kB / 0.9295 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.5687, allocations: 7.094 kB / 0.9295 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.5687, allocations: 0.6562 kB / 0.9295 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.508e-05/0.5687, allocations: 21.78 kB / 0.9296 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.5691, allocations: 260.6 kB / 0.9298 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.581e-05/0.5691, allocations: 22.09 kB / 0.9298 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.5692, allocations: 12.16 kB / 0.9298 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.5693, allocations: 89.3 kB / 0.9299 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.5694, allocations: 39.69 kB / 0.93 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.5694, allocations: 0 / 0.93 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002539/0.5696, allocations: 47.36 kB / 0.93 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.5697, allocations: 58.12 kB / 0.9301 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/0.5698, allocations: 108.9 kB / 0.9302 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.5698, allocations: 25.7 kB / 0.9302 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.5698, allocations: 91.7 kB / 0.9303 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/0.5698, allocations: 5 kB / 0.9303 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.5699, allocations: 21.95 kB / 0.9303 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.57, allocations: 314.4 kB / 0.9306 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.57, allocations: 4.266 kB / 0.9306 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.5701, allocations: 26.81 kB / 0.9306 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.955e-05/0.5701, allocations: 32.89 kB / 0.9307 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5701, allocations: 0 / 0.9307 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001052/0.5702, allocations: 52.28 kB / 0.9307 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.5703, allocations: 5.688 kB / 0.9307 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5703, allocations: 0.9375 kB / 0.9307 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.5703, allocations: 4.438 kB / 0.9307 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.5704, allocations: 10.19 kB / 0.9307 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.5704, allocations: 3.938 kB / 0.9307 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.5704, allocations: 10.19 kB / 0.9308 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.5704, allocations: 4.75 kB / 0.9308 GB, free: 17.13 MB / 0.7325 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 0.0001333/0.5706, allocations: 108.9 kB / 0.9309 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.5707, allocations: 3.922 kB / 0.9309 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.5707, allocations: 7.031 kB / 0.9309 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5707, allocations: 0 / 0.9309 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5707, allocations: 6.938 kB / 0.9309 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5707, allocations: 1.906 kB / 0.9309 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.5711, allocations: 360.8 kB / 0.9312 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5711, allocations: 0.7031 kB / 0.9312 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.5712, allocations: 4.062 kB / 0.9312 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5712, allocations: 5.156 kB / 0.9312 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.5712, allocations: 2.531 kB / 0.9312 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5712, allocations: 0 / 0.9312 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5712, allocations: 0.7031 kB / 0.9312 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.219e-05/0.5713, allocations: 79.92 kB / 0.9313 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.5714, allocations: 82.08 kB / 0.9314 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.5714, allocations: 5.078 kB / 0.9314 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.5715, allocations: 5.109 kB / 0.9314 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.578e-05/0.5715, allocations: 4.594 kB / 0.9314 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.5715, allocations: 4.922 kB / 0.9314 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.5716, allocations: 80.34 kB / 0.9315 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5716, allocations: 4.031 kB / 0.9315 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002147/0.5718, allocations: 11 kB / 0.9315 GB, free: 16.35 MB / 0.7325 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.0003012/0.5721, allocations: 0.6129 MB / 0.9321 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.902e-05/0.5722, allocations: 19.47 kB / 0.9321 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5722, allocations: 0 / 0.9321 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.044e-05/0.5722, allocations: 9.188 kB / 0.9321 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.5724, allocations: 7.5 kB / 0.9321 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.5727, allocations: 156.1 kB / 0.9323 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.573, allocations: 0.6771 MB / 0.9329 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.848e-05/0.573, allocations: 4.375 kB / 0.933 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.573, allocations: 10.94 kB / 0.933 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.573, allocations: 0 / 0.933 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1916/0.7647, allocations: 1.388 MB / 0.9343 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/8.305, allocations: 12.05 kB / 0.9343 GB, free: 14.5 MB / 0.7325 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)