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.001411/0.001411, allocations: 109.4 kB / 15.69 MB, free: 128 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.001106/0.001106, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.815/1.815, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001496/0.001496, allocations: 71.44 kB / 0.6717 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2823, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7537/1.036, allocations: 148.3 MB / 0.9284 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001404/1.036, allocations: 53.69 kB / 0.9285 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/1.036, allocations: 0 / 0.9285 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/1.037, allocations: 8.578 kB / 0.9285 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.725e-05/1.037, allocations: 16.22 kB / 0.9285 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008329/1.038, allocations: 196.4 kB / 0.9287 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.946e-05/1.038, allocations: 32.95 kB / 0.9287 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/1.038, allocations: 0.6094 kB / 0.9287 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/1.038, allocations: 23.16 kB / 0.9287 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.709e-05/1.038, allocations: 16.31 kB / 0.9287 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/1.038, allocations: 0 / 0.9287 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/1.038, allocations: 195.2 kB / 0.9289 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/1.038, allocations: 6.297 kB / 0.9289 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/1.038, allocations: 15.42 kB / 0.9289 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/1.039, allocations: 111.6 kB / 0.929 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.039, allocations: 0 / 0.929 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/1.039, allocations: 0 / 0.929 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.039, allocations: 1.859 kB / 0.929 GB, free: 3.105 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.0006084/1.039, allocations: 347.9 kB / 0.9294 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.039, allocations: 11.11 kB / 0.9294 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/1.039, allocations: 31.45 kB / 0.9294 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/1.04, allocations: 28 kB / 0.9294 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/1.04, allocations: 161 kB / 0.9296 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-05/1.04, allocations: 33.86 kB / 0.9296 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/1.04, allocations: 5.078 kB / 0.9296 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/1.04, allocations: 52.34 kB / 0.9297 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.04, allocations: 0.7031 kB / 0.9297 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.04, allocations: 3.688 kB / 0.9297 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/1.04, allocations: 3.375 kB / 0.9297 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.729e-05/1.04, allocations: 20.14 kB / 0.9297 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/1.041, allocations: 261.1 kB / 0.93 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.596e-05/1.041, allocations: 29.03 kB / 0.93 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/1.041, allocations: 16.09 kB / 0.93 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/1.041, allocations: 88.36 kB / 0.9301 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/1.041, allocations: 35.05 kB / 0.9301 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/1.041, allocations: 0 / 0.9301 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002399/1.041, allocations: 50.73 kB / 0.9302 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/1.041, allocations: 54.03 kB / 0.9302 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/1.041, allocations: 109.7 kB / 0.9303 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/1.041, allocations: 29.64 kB / 0.9304 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/1.041, allocations: 87.42 kB / 0.9304 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/1.041, allocations: 8.266 kB / 0.9305 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/1.041, allocations: 13.23 kB / 0.9305 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.042, allocations: 318.1 kB / 0.9308 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/1.042, allocations: 7.875 kB / 0.9308 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/1.042, allocations: 23.08 kB / 0.9308 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/1.042, allocations: 31.69 kB / 0.9308 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.042, allocations: 0 / 0.9308 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.983e-05/1.042, allocations: 60.27 kB / 0.9309 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.042, allocations: 7.875 kB / 0.9309 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.042, allocations: 0 / 0.9309 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.042, allocations: 0.6562 kB / 0.9309 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.657e-05/1.042, allocations: 6 kB / 0.9309 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/1.042, allocations: 6.562 kB / 0.9309 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/1.042, allocations: 4.516 kB / 0.9309 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/1.042, allocations: 3.828 kB / 0.9309 GB, free: 17.23 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 8.483e-05/1.042, allocations: 113.9 kB / 0.931 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/1.042, allocations: 3.234 kB / 0.931 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/1.042, allocations: 7.625 kB / 0.931 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.042, allocations: 0 / 0.931 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.042, allocations: 3.938 kB / 0.931 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/1.042, allocations: 3.328 kB / 0.931 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/1.042, allocations: 358.2 kB / 0.9314 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.042, allocations: 0.5 kB / 0.9314 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/1.042, allocations: 10.11 kB / 0.9314 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.042, allocations: 3.938 kB / 0.9314 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/1.042, allocations: 1.203 kB / 0.9314 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.042, allocations: 3.188 kB / 0.9314 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.042, allocations: 0.6094 kB / 0.9314 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.94e-05/1.043, allocations: 74.33 kB / 0.9315 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/1.043, allocations: 85.78 kB / 0.9316 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/1.043, allocations: 5.125 kB / 0.9316 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/1.043, allocations: 7.875 kB / 0.9316 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/1.043, allocations: 4.5 kB / 0.9316 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/1.043, allocations: 3.375 kB / 0.9316 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.442e-05/1.043, allocations: 79.5 kB / 0.9316 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.42e-07/1.043, allocations: 0 / 0.9316 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002028/1.043, allocations: 6.406 kB / 0.9317 GB, free: 16.45 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.0004152/1.043, allocations: 0.6174 MB / 0.9323 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.599e-05/1.044, allocations: 19.98 kB / 0.9323 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.044, allocations: 4.219 kB / 0.9323 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/1.044, allocations: 4.891 kB / 0.9323 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/1.044, allocations: 4.125 kB / 0.9323 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004055/1.044, allocations: 153.2 kB / 0.9324 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/1.045, allocations: 0.6779 MB / 0.9331 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.228e-05/1.045, allocations: 17.02 kB / 0.9331 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/1.045, allocations: 11.38 kB / 0.9331 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/1.045, allocations: 1.094 kB / 0.9331 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/1.064, allocations: 1.397 MB / 0.9345 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.766/8.83, allocations: 7.641 kB / 0.9345 GB, free: 14.6 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)