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.0007416/0.0007417, allocations: 92.16 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.0007878/0.0007878, 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 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 222.1 MB, free: 5.723 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.782/1.782, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0007877/0.0007878, allocations: 14.16 kB / 0.6738 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2518, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6316/0.8835, allocations: 134.5 MB / 0.9187 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001227/0.8837, allocations: 43.73 kB / 0.9187 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.8837, allocations: 0 / 0.9187 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.8838, allocations: 8.016 kB / 0.9187 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.8839, allocations: 11.38 kB / 0.9188 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.8845, allocations: 138.4 kB / 0.9189 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.335e-05/0.8846, allocations: 40.48 kB / 0.9189 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.8846, allocations: 2 kB / 0.9189 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.8847, allocations: 18.3 kB / 0.9189 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.8848, allocations: 13.98 kB / 0.919 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.8848, allocations: 5.812 kB / 0.919 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.8852, allocations: 98.33 kB / 0.9191 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.8852, allocations: 11.2 kB / 0.9191 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.8855, allocations: 28.45 kB / 0.9191 GB, free: 21.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.8857, allocations: 51.36 kB / 0.9191 GB, free: 21.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.457e-06/0.8857, allocations: 0 / 0.9191 GB, free: 21.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8857, allocations: 0.9062 kB / 0.9191 GB, free: 21.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.8857, allocations: 0 / 0.9191 GB, free: 21.75 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.0003991/0.8861, allocations: 339.5 kB / 0.9195 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.8862, allocations: 11.86 kB / 0.9195 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/0.8862, allocations: 37.33 kB / 0.9195 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.8866, allocations: 30.34 kB / 0.9195 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.8867, allocations: 165.5 kB / 0.9197 GB, free: 21.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/0.8868, allocations: 28.34 kB / 0.9197 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.8868, allocations: 1 kB / 0.9197 GB, free: 21.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.8869, allocations: 51.41 kB / 0.9198 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8869, allocations: 4.703 kB / 0.9198 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.887, allocations: 0.9375 kB / 0.9198 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.887, allocations: 6.703 kB / 0.9198 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.984e-05/0.887, allocations: 26.16 kB / 0.9198 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.8874, allocations: 248.9 kB / 0.92 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.122e-05/0.8875, allocations: 25.17 kB / 0.9201 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.8875, allocations: 12 kB / 0.9201 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.8876, allocations: 91.69 kB / 0.9202 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.8877, allocations: 39.48 kB / 0.9202 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.8877, allocations: 0 / 0.9202 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002367/0.8879, allocations: 48.73 kB / 0.9203 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.888, allocations: 58.02 kB / 0.9203 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.8881, allocations: 106.5 kB / 0.9204 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.8881, allocations: 27.3 kB / 0.9204 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.8881, allocations: 84.61 kB / 0.9205 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-06/0.8882, allocations: 9.031 kB / 0.9205 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.8882, allocations: 1.469 kB / 0.9205 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.8883, allocations: 314.6 kB / 0.9208 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.8883, allocations: 3.969 kB / 0.9208 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.684e-05/0.8883, allocations: 31.34 kB / 0.9209 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.8884, allocations: 11.53 kB / 0.9209 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8884, allocations: 0.9375 kB / 0.9209 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.325e-05/0.8885, allocations: 50.84 kB / 0.9209 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.8885, allocations: 6.062 kB / 0.9209 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.8885, allocations: 5.203 kB / 0.9209 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.8885, allocations: 5.625 kB / 0.9209 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-05/0.8886, allocations: 8.562 kB / 0.9209 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.8886, allocations: 1.672 kB / 0.921 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.8887, allocations: 9.031 kB / 0.921 GB, free: 19.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.8887, allocations: 0.875 kB / 0.921 GB, free: 19.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/0.8887, allocations: 111.8 kB / 0.9211 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.8888, allocations: 2.516 kB / 0.9211 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.8888, allocations: 7.406 kB / 0.9211 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.8888, allocations: 4.953 kB / 0.9211 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8888, allocations: 5.031 kB / 0.9211 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.8888, allocations: 0.5625 kB / 0.9211 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.8891, allocations: 361.3 kB / 0.9214 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8891, allocations: 0 / 0.9214 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.8892, allocations: 8.703 kB / 0.9214 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8892, allocations: 0 / 0.9214 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.8892, allocations: 1.25 kB / 0.9214 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.8892, allocations: 8.781 kB / 0.9214 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8892, allocations: 1 kB / 0.9214 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.692e-05/0.8893, allocations: 69.86 kB / 0.9215 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.8893, allocations: 88.62 kB / 0.9216 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.8894, allocations: 5.906 kB / 0.9216 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.8894, allocations: 7.188 kB / 0.9216 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.8895, allocations: 6.078 kB / 0.9216 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.8895, allocations: 0.9062 kB / 0.9216 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.8895, allocations: 85 kB / 0.9217 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8895, allocations: 0 / 0.9217 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001977/0.8897, allocations: 6.438 kB / 0.9217 GB, free: 19.16 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 (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.0003644/0.8901, allocations: 0.6152 MB / 0.9223 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.499e-05/0.8902, allocations: 15.58 kB / 0.9223 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8902, allocations: 0.8125 kB / 0.9223 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.8902, allocations: 7.672 kB / 0.9223 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.8904, allocations: 5.125 kB / 0.9223 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.8908, allocations: 162.2 kB / 0.9225 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.8911, allocations: 0.6766 MB / 0.9232 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.068e-05/0.8912, allocations: 13.61 kB / 0.9232 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.8912, allocations: 11.31 kB / 0.9232 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8913, allocations: 0 / 0.9232 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/0.9031, allocations: 1.193 MB / 0.9243 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.9033, allocations: 200.5 kB / 0.9245 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.592, allocations: 0 / 0.9245 GB, free: 17.29 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/linux/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) Environment - environmentSimulation: