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.455/1.455, allocations: 252 MB / 267 MB, free: 10.96 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.0009673/0.0009674, allocations: 188.1 kB / 326.6 MB, free: 2.203 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.745/1.745, allocations: 205.4 MB / 0.5777 GB, free: 20.5 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.0007478/0.0007478, allocations: 99.94 kB / 0.6823 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002922, allocations: 9.469 kB / 0.7964 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1972, allocations: 106.4 MB / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.201/0.3982, allocations: 134.5 MB / 1.032 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001937/0.3984, allocations: 43.91 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.3985, allocations: 3.938 kB / 1.032 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.3987, allocations: 3.938 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.3988, allocations: 19.97 kB / 1.032 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008367/0.3996, allocations: 137.2 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3997, allocations: 39.89 kB / 1.032 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.3998, allocations: 0 / 1.032 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.3999, allocations: 23.91 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.47e-05/0.4, allocations: 8 kB / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.4, allocations: 0 / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.4004, allocations: 107.7 kB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.4005, allocations: 11.98 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.4005, allocations: 29.7 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.4008, allocations: 47.94 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4008, allocations: 3.938 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4008, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4008, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 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.0006301/0.4015, allocations: 331.6 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.561e-05/0.4016, allocations: 8.031 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.474e-05/0.4016, allocations: 46.48 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004418/0.4021, allocations: 23.94 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.4023, allocations: 163.1 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.548e-05/0.4024, allocations: 29.7 kB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.4024, allocations: 0 / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.4026, allocations: 45.69 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.4026, allocations: 3.984 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4027, allocations: 4 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.4027, allocations: 7.984 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-05/0.4028, allocations: 23.94 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.4033, allocations: 260.7 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.474e-05/0.4033, allocations: 26.61 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.4034, allocations: 8.922 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.4036, allocations: 93.09 kB / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.4037, allocations: 38.56 kB / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.4037, allocations: 0 / 1.033 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002769/0.404, allocations: 49.58 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.404, allocations: 55.41 kB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.01e-05/0.4041, allocations: 102 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.4041, allocations: 29.69 kB / 1.033 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.4042, allocations: 88.05 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.4042, allocations: 11.89 kB / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.4042, allocations: 0 / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4044, allocations: 310.8 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.4044, allocations: 11.94 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/0.4044, allocations: 26.56 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.4045, allocations: 11.94 kB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4045, allocations: 0 / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.89e-05/0.4045, allocations: 53.62 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4046, allocations: 8 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4046, allocations: 0 / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4046, allocations: 3.953 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/0.4047, allocations: 16.03 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4047, allocations: 0 / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.4047, allocations: 0 / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4048, allocations: 7.984 kB / 1.034 GB, free: 6.691 MB / 0.6823 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 0.0001076/0.4049, allocations: 105.8 kB / 1.034 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.4049, allocations: 4 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.405, allocations: 7.125 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.405, allocations: 3.953 kB / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.405, allocations: 0 / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.405, allocations: 4 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.4054, allocations: 367.5 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4054, allocations: 0 / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.4055, allocations: 4 kB / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4055, allocations: 3.953 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.4055, allocations: 0 / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4055, allocations: 0 / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4055, allocations: 0 / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.4057, allocations: 81.98 kB / 1.034 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.4057, allocations: 81.05 kB / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.4057, allocations: 3.953 kB / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.4059, allocations: 7.984 kB / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.4059, allocations: 4 kB / 1.035 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.4059, allocations: 4.031 kB / 1.035 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.608e-05/0.406, allocations: 83.56 kB / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.406, allocations: 0 / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002841/0.4063, allocations: 8 kB / 1.035 GB, free: 5.82 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.0004975/0.4068, allocations: 0.6134 MB / 1.035 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.091e-05/0.4069, allocations: 11.98 kB / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4069, allocations: 0 / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.591e-05/0.4069, allocations: 7.938 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.4072, allocations: 17.27 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.4078, allocations: 163.6 kB / 1.035 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.4082, allocations: 0.6731 MB / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.934e-05/0.4083, allocations: 11.97 kB / 1.036 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.4083, allocations: 11.44 kB / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of SimCode: time 7.11e-07/0.4083, allocations: 0 / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.4232, allocations: 1.203 MB / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/0.4235, allocations: 203.4 kB / 1.037 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.015, allocations: 8.125 kB / 1.037 GB, free: 2.926 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)