Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 183.7 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.926/1.926, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008/0.0008001, allocations: 99.95 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.000311, allocations: 5.906 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2179, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1353/0.3533, allocations: 125.3 MB / 1.022 GB, free: 2.238 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0002418/0.3536, allocations: 131.7 kB / 1.023 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.3536, allocations: 4 kB / 1.023 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.3537, allocations: 8 kB / 1.023 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 3.635e-05/0.3538, allocations: 3.984 kB / 1.023 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.3544, allocations: 149.3 kB / 1.023 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.3544, allocations: 15.97 kB / 1.023 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.3545, allocations: 0 / 1.023 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.3545, allocations: 8 kB / 1.023 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.3546, allocations: 23.91 kB / 1.023 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3546, allocations: 0 / 1.023 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.3549, allocations: 103.8 kB / 1.023 GB, free: 1.801 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.355, allocations: 7.984 kB / 1.023 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.355, allocations: 25.7 kB / 1.023 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.3551, allocations: 43.95 kB / 1.023 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.3552, allocations: 7.875 kB / 1.023 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3552, allocations: 0 / 1.023 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3552, allocations: 0 / 1.023 GB, free: 1.711 MB / 0.6667 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.0003873/0.3556, allocations: 339.6 kB / 1.023 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3556, allocations: 16.02 kB / 1.023 GB, free: 1.316 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.3557, allocations: 30.56 kB / 1.023 GB, free: 1.277 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.356, allocations: 27.92 kB / 1.023 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.3561, allocations: 159.1 kB / 1.024 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.675e-05/0.3562, allocations: 29.7 kB / 1.024 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.3562, allocations: 4 kB / 1.024 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.3564, allocations: 53.66 kB / 1.024 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.3564, allocations: 0 / 1.024 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3564, allocations: 4 kB / 1.024 GB, free: 0.9531 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.3564, allocations: 0 / 1.024 GB, free: 0.9531 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.534e-05/0.3565, allocations: 31.88 kB / 1.024 GB, free: 0.9219 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.3568, allocations: 252.8 kB / 1.024 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.186e-05/0.3569, allocations: 26.61 kB / 1.024 GB, free: 0.5898 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.3569, allocations: 8.062 kB / 1.024 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.357, allocations: 34.56 kB / 1.024 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.357, allocations: 0 / 1.024 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0002372/0.3572, allocations: 53.58 kB / 1.024 GB, free: 492 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3573, allocations: 59.34 kB / 1.024 GB, free: 420 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/0.3574, allocations: 101.8 kB / 1.024 GB, free: 308 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3574, allocations: 25.83 kB / 1.024 GB, free: 276 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.3575, allocations: 100 kB / 1.024 GB, free: 172 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.828e-06/0.3575, allocations: 3.906 kB / 1.024 GB, free: 168 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.3575, allocations: 0 / 1.024 GB, free: 168 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3576, allocations: 314.8 kB / 1.025 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.3577, allocations: 8 kB / 1.025 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.3577, allocations: 21.7 kB / 1.025 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.3577, allocations: 8 kB / 1.025 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3577, allocations: 4 kB / 1.025 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.683e-05/0.3578, allocations: 53.62 kB / 1.025 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3579, allocations: 4 kB / 1.025 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.3579, allocations: 4 kB / 1.025 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3579, allocations: 3.953 kB / 1.025 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.358, allocations: 4 kB / 1.025 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.358, allocations: 0 / 1.025 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.358, allocations: 7.984 kB / 1.025 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.358, allocations: 3.938 kB / 1.025 GB, free: 15.71 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 9.66e-05/0.3581, allocations: 117.9 kB / 1.025 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.3582, allocations: 0 / 1.025 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.3582, allocations: 11.06 kB / 1.025 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3582, allocations: 0 / 1.025 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3582, allocations: 7.953 kB / 1.025 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3582, allocations: 0 / 1.025 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.3586, allocations: 367.5 kB / 1.025 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3586, allocations: 4.062 kB / 1.025 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.3586, allocations: 7.984 kB / 1.025 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3586, allocations: 4.281 kB / 1.025 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.3586, allocations: 0 / 1.025 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3587, allocations: 0 / 1.025 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.3587, allocations: 8 kB / 1.025 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.3588, allocations: 87.7 kB / 1.025 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.3588, allocations: 88.98 kB / 1.025 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3589, allocations: 3.938 kB / 1.025 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.359, allocations: 4 kB / 1.025 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.359, allocations: 7.922 kB / 1.025 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.359, allocations: 4 kB / 1.025 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.359, allocations: 83.28 kB / 1.025 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3591, allocations: 0 / 1.025 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001928/0.3593, allocations: 8.031 kB / 1.025 GB, free: 14.8 MB / 0.6823 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.0004778/0.3597, allocations: 0.6915 MB / 1.026 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.79e-05/0.3598, allocations: 23.95 kB / 1.026 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3598, allocations: 0 / 1.026 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.3599, allocations: 8 kB / 1.026 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.3601, allocations: 10.39 kB / 1.026 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.3605, allocations: 159.5 kB / 1.026 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3608, allocations: 0.677 MB / 1.027 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.428e-05/0.3609, allocations: 7.984 kB / 1.027 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.3609, allocations: 11.44 kB / 1.027 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3609, allocations: 0 / 1.027 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.3726, allocations: 1.198 MB / 1.028 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/0.3729, allocations: 199 kB / 1.028 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/1.828, allocations: 2.031 kB / 1.028 GB, free: 11.82 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)