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.0008438/0.0008438, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004767/0.004767, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.238/1.238, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.62/1.62, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005165/0.0005165, allocations: 14 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.203, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4803/0.6833, allocations: 144.1 MB / 0.9288 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.188e-05/0.6835, allocations: 47.05 kB / 0.9288 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.589e-05/0.6835, allocations: 0 / 0.9288 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.725e-05/0.6836, allocations: 8.875 kB / 0.9288 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.263e-05/0.6836, allocations: 13.81 kB / 0.9288 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.6842, allocations: 184 kB / 0.929 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.6843, allocations: 63.97 kB / 0.9291 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.844e-05/0.6843, allocations: 4.922 kB / 0.9291 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.755e-05/0.6844, allocations: 14.22 kB / 0.9291 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.6844, allocations: 13.02 kB / 0.9291 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.6844, allocations: 4 kB / 0.9291 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.6848, allocations: 233.1 kB / 0.9293 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.6848, allocations: 7.891 kB / 0.9293 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.88e-05/0.6849, allocations: 39.33 kB / 0.9294 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.6851, allocations: 122.2 kB / 0.9295 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6852, allocations: 0 / 0.9295 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6852, allocations: 3.094 kB / 0.9295 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.6852, allocations: 0 / 0.9295 GB, free: 17.41 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.0002997/0.6855, allocations: 343 kB / 0.9298 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.6855, allocations: 9.172 kB / 0.9298 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.267e-05/0.6856, allocations: 31.55 kB / 0.9298 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002685/0.6858, allocations: 28.2 kB / 0.9299 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.857e-05/0.6859, allocations: 165.8 kB / 0.93 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.686, allocations: 32.27 kB / 0.9301 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.686, allocations: 4.812 kB / 0.9301 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.6861, allocations: 46.59 kB / 0.9301 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-06/0.6861, allocations: 4 kB / 0.9301 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.6861, allocations: 0 / 0.9301 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.6862, allocations: 6.562 kB / 0.9301 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.252e-05/0.6862, allocations: 23.47 kB / 0.9301 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.6865, allocations: 253.4 kB / 0.9304 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.538e-05/0.6865, allocations: 22.03 kB / 0.9304 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.6865, allocations: 19.42 kB / 0.9304 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.6867, allocations: 94.48 kB / 0.9305 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.6867, allocations: 30.56 kB / 0.9305 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6867, allocations: 0 / 0.9305 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001949/0.6869, allocations: 50.53 kB / 0.9306 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.6869, allocations: 55.53 kB / 0.9306 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.435e-05/0.687, allocations: 111.9 kB / 0.9307 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.687, allocations: 25.7 kB / 0.9308 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.6871, allocations: 90.7 kB / 0.9309 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.6871, allocations: 6.016 kB / 0.9309 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.6871, allocations: 14.59 kB / 0.9309 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.6872, allocations: 314.5 kB / 0.9312 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.6872, allocations: 2.406 kB / 0.9312 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.894e-05/0.6872, allocations: 27.7 kB / 0.9312 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.6873, allocations: 33.55 kB / 0.9312 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6873, allocations: 0 / 0.9312 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.945e-05/0.6873, allocations: 58.48 kB / 0.9313 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.6873, allocations: 9.938 kB / 0.9313 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.6874, allocations: 0 / 0.9313 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.6874, allocations: 0 / 0.9313 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.765e-05/0.6874, allocations: 8.406 kB / 0.9313 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.6874, allocations: 6.781 kB / 0.9313 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.6875, allocations: 3.906 kB / 0.9313 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.6875, allocations: 2.625 kB / 0.9313 GB, free: 15.54 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 5.692e-05/0.6875, allocations: 117.3 kB / 0.9314 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.6876, allocations: 6.25 kB / 0.9314 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.6876, allocations: 7.125 kB / 0.9314 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.6876, allocations: 3.062 kB / 0.9315 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.6876, allocations: 3.938 kB / 0.9315 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.6876, allocations: 0 / 0.9315 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.6878, allocations: 358.1 kB / 0.9318 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.6878, allocations: 2.875 kB / 0.9318 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.6879, allocations: 3.625 kB / 0.9318 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6879, allocations: 3.938 kB / 0.9318 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.6879, allocations: 4.062 kB / 0.9318 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.6879, allocations: 1.062 kB / 0.9318 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6879, allocations: 1.5 kB / 0.9318 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.909e-05/0.688, allocations: 76.69 kB / 0.9319 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.688, allocations: 87.81 kB / 0.932 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.688, allocations: 0 / 0.932 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.6881, allocations: 10.94 kB / 0.932 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.6881, allocations: 8.062 kB / 0.932 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.6881, allocations: 3.25 kB / 0.932 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.6881, allocations: 78.28 kB / 0.9321 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6881, allocations: 0 / 0.9321 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000176/0.6883, allocations: 9.031 kB / 0.9321 GB, free: 14.75 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.0002711/0.6886, allocations: 0.6102 MB / 0.9327 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.683e-05/0.6887, allocations: 18.38 kB / 0.9327 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6887, allocations: 2.75 kB / 0.9327 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.296e-06/0.6887, allocations: 2.906 kB / 0.9327 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.6889, allocations: 10.5 kB / 0.9327 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.6892, allocations: 159.5 kB / 0.9329 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.6893, allocations: 0.6767 MB / 0.9335 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.01e-05/0.6894, allocations: 8.781 kB / 0.9335 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.6894, allocations: 10.17 kB / 0.9335 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.6894, allocations: 2.844 kB / 0.9335 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.959/2.649, allocations: 1.212 MB / 0.9347 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/2.649, allocations: 209.2 kB / 0.9349 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/4.522, allocations: 0 / 0.9349 GB, free: 12.84 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)