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.001223/0.001224, 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.001296/0.001296, allocations: 187.8 kB / 16.62 MB, free: 6.613 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.469/1.469, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.948/1.948, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.002724/0.002724, allocations: 67.66 kB / 0.6717 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2905, allocations: 114.5 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7059/0.9965, allocations: 148.3 MB / 0.9284 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001347/0.9967, allocations: 51.81 kB / 0.9285 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.9967, allocations: 4 kB / 0.9285 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.9968, allocations: 5.844 kB / 0.9285 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.212e-05/0.9969, allocations: 12.44 kB / 0.9285 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007708/0.9977, allocations: 204.1 kB / 0.9287 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.31e-05/0.9978, allocations: 28.97 kB / 0.9287 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.9979, allocations: 0.6094 kB / 0.9287 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.9979, allocations: 14.94 kB / 0.9287 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/0.998, allocations: 23.53 kB / 0.9287 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.998, allocations: 0 / 0.9287 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.9984, allocations: 197.6 kB / 0.9289 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.9985, allocations: 6.359 kB / 0.9289 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.9985, allocations: 8.547 kB / 0.9289 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.9988, allocations: 114.2 kB / 0.929 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9988, allocations: 0 / 0.929 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9988, allocations: 0 / 0.929 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.9988, allocations: 0 / 0.929 GB, free: 3.121 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.0006027/0.9994, allocations: 347.9 kB / 0.9294 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.9995, allocations: 8.562 kB / 0.9294 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.9995, allocations: 31.88 kB / 0.9294 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.9998, allocations: 29.34 kB / 0.9294 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/1, allocations: 164.8 kB / 0.9296 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/1, allocations: 30.25 kB / 0.9296 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/1, allocations: 5.594 kB / 0.9296 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/1, allocations: 49.8 kB / 0.9297 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/1, allocations: 5.094 kB / 0.9297 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/1, allocations: 2.906 kB / 0.9297 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/1, allocations: 1.641 kB / 0.9297 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/1, allocations: 26.56 kB / 0.9297 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/1.001, allocations: 251.3 kB / 0.93 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/1.001, allocations: 29.09 kB / 0.93 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/1.001, allocations: 12.19 kB / 0.93 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/1.001, allocations: 94.66 kB / 0.9301 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/1.001, allocations: 30.56 kB / 0.9301 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.001, allocations: 1.094 kB / 0.9301 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002527/1.001, allocations: 49.48 kB / 0.9302 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/1.001, allocations: 56.33 kB / 0.9302 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.867e-05/1.002, allocations: 109.1 kB / 0.9303 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.002, allocations: 26.73 kB / 0.9304 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/1.002, allocations: 91.5 kB / 0.9304 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/1.002, allocations: 4.609 kB / 0.9304 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/1.002, allocations: 17.92 kB / 0.9305 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.002, allocations: 318.3 kB / 0.9308 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/1.002, allocations: 1.406 kB / 0.9308 GB, free: 17.35 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/1.002, allocations: 31.47 kB / 0.9308 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/1.002, allocations: 26.08 kB / 0.9308 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.002, allocations: 1.156 kB / 0.9308 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.764e-05/1.002, allocations: 53.38 kB / 0.9309 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.002, allocations: 12.91 kB / 0.9309 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.002, allocations: 4.688 kB / 0.9309 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.002, allocations: 2.531 kB / 0.9309 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.919e-05/1.002, allocations: 5.984 kB / 0.9309 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/1.002, allocations: 4.688 kB / 0.9309 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/1.002, allocations: 6.5 kB / 0.9309 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/1.002, allocations: 2.688 kB / 0.9309 GB, free: 17.25 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.409e-05/1.002, allocations: 114.8 kB / 0.931 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/1.002, allocations: 0 / 0.931 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/1.002, allocations: 12.44 kB / 0.931 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.002, allocations: 0 / 0.931 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.002, allocations: 4.594 kB / 0.931 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.002, allocations: 2.906 kB / 0.931 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/1.003, allocations: 359 kB / 0.9314 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.003, allocations: 3.656 kB / 0.9314 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/1.003, allocations: 3.297 kB / 0.9314 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.003, allocations: 4 kB / 0.9314 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.003, allocations: 4 kB / 0.9314 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1.003, allocations: 6.047 kB / 0.9314 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.003, allocations: 0 / 0.9314 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.403e-05/1.003, allocations: 74.03 kB / 0.9315 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/1.003, allocations: 84.22 kB / 0.9316 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/1.003, allocations: 0 / 0.9316 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/1.003, allocations: 10.3 kB / 0.9316 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/1.003, allocations: 0.6094 kB / 0.9316 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/1.003, allocations: 2.594 kB / 0.9316 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.803e-05/1.003, allocations: 82.11 kB / 0.9316 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.163e-06/1.003, allocations: 0 / 0.9316 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002009/1.003, allocations: 6.766 kB / 0.9316 GB, free: 16.47 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.0003918/1.004, allocations: 0.618 MB / 0.9323 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.75e-05/1.004, allocations: 15.72 kB / 0.9323 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.004, allocations: 3.938 kB / 0.9323 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/1.004, allocations: 4.984 kB / 0.9323 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/1.004, allocations: 8.75 kB / 0.9323 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/1.004, allocations: 157.8 kB / 0.9324 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/1.005, allocations: 0.6744 MB / 0.9331 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.427e-05/1.005, allocations: 15.2 kB / 0.9331 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/1.005, allocations: 8.094 kB / 0.9331 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/1.005, allocations: 3.938 kB / 0.9331 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/1.022, allocations: 1.401 MB / 0.9345 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/8.373, allocations: 3.938 kB / 0.9345 GB, free: 14.62 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)