Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.752/1.752, allocations: 288.4 MB / 303.3 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 188.9 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 85 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004295, allocations: 14.34 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2907, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.8731/1.164, allocations: 134.5 MB / 1.111 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001815/1.164, allocations: 42.22 kB / 1.111 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/1.164, allocations: 4 kB / 1.111 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/1.164, allocations: 4.016 kB / 1.111 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/1.164, allocations: 11.47 kB / 1.111 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/1.166, allocations: 142.4 kB / 1.111 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001787/1.166, allocations: 47.22 kB / 1.111 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.571e-05/1.166, allocations: 1.5 kB / 1.111 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.424e-05/1.166, allocations: 15.36 kB / 1.111 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/1.166, allocations: 18.92 kB / 1.111 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/1.166, allocations: 1.531 kB / 1.111 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005332/1.167, allocations: 101 kB / 1.111 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/1.167, allocations: 5.141 kB / 1.111 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/1.167, allocations: 29.33 kB / 1.111 GB, free: 18.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/1.167, allocations: 53.39 kB / 1.111 GB, free: 18.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/1.167, allocations: 2.125 kB / 1.111 GB, free: 18.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.304e-06/1.167, allocations: 0 / 1.111 GB, free: 18.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.167, allocations: 1.125 kB / 1.111 GB, free: 18.2 MB / 0.698 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.0006717/1.168, allocations: 338.5 kB / 1.112 GB, free: 17.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.597e-05/1.168, allocations: 13.3 kB / 1.112 GB, free: 17.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.252e-05/1.168, allocations: 32.22 kB / 1.112 GB, free: 17.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/1.169, allocations: 36.27 kB / 1.112 GB, free: 17.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/1.169, allocations: 159.7 kB / 1.112 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/1.169, allocations: 33.45 kB / 1.112 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/1.169, allocations: 1.125 kB / 1.112 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/1.169, allocations: 51.7 kB / 1.112 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.169, allocations: 0 / 1.112 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/1.169, allocations: 0 / 1.112 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/1.169, allocations: 7.625 kB / 1.112 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/1.169, allocations: 19.59 kB / 1.112 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/1.17, allocations: 254.6 kB / 1.112 GB, free: 17.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/1.17, allocations: 24.88 kB / 1.112 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/1.17, allocations: 18.58 kB / 1.112 GB, free: 17.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/1.17, allocations: 90.45 kB / 1.112 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/1.171, allocations: 39.03 kB / 1.112 GB, free: 17.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/1.171, allocations: 0 / 1.112 GB, free: 17.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000361/1.171, allocations: 46.72 kB / 1.112 GB, free: 17.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/1.171, allocations: 61.14 kB / 1.113 GB, free: 16.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/1.171, allocations: 109.7 kB / 1.113 GB, free: 16.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/1.171, allocations: 25.7 kB / 1.113 GB, free: 16.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/1.171, allocations: 85.98 kB / 1.113 GB, free: 16.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/1.171, allocations: 13.84 kB / 1.113 GB, free: 16.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/1.171, allocations: 0 / 1.113 GB, free: 16.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.171, allocations: 313.5 kB / 1.113 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/1.172, allocations: 6.953 kB / 1.113 GB, free: 16.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.588e-05/1.172, allocations: 27.61 kB / 1.113 GB, free: 16.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/1.172, allocations: 8.531 kB / 1.113 GB, free: 16.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.172, allocations: 0 / 1.113 GB, free: 16.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001295/1.172, allocations: 51.66 kB / 1.113 GB, free: 16.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/1.172, allocations: 6.609 kB / 1.113 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.172, allocations: 4.984 kB / 1.113 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/1.172, allocations: 5 kB / 1.113 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/1.172, allocations: 6.703 kB / 1.113 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/1.172, allocations: 6.156 kB / 1.113 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/1.172, allocations: 1.031 kB / 1.113 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/1.172, allocations: 5.031 kB / 1.113 GB, free: 16.36 MB / 0.698 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.0001231/1.172, allocations: 111.3 kB / 1.113 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/1.172, allocations: 5.375 kB / 1.113 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/1.172, allocations: 7.375 kB / 1.113 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/1.172, allocations: 7.953 kB / 1.113 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.172, allocations: 0.5156 kB / 1.113 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/1.172, allocations: 1.188 kB / 1.113 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/1.173, allocations: 359.7 kB / 1.114 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.173, allocations: 3.969 kB / 1.114 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/1.173, allocations: 7.141 kB / 1.114 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.173, allocations: 1.156 kB / 1.114 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/1.173, allocations: 4.047 kB / 1.114 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/1.173, allocations: 6 kB / 1.114 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.173, allocations: 1.125 kB / 1.114 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/1.173, allocations: 69.7 kB / 1.114 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/1.173, allocations: 82.83 kB / 1.114 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/1.173, allocations: 5.688 kB / 1.114 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/1.173, allocations: 9.953 kB / 1.114 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/1.173, allocations: 1.875 kB / 1.114 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/1.173, allocations: 4.281 kB / 1.114 GB, free: 15.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.167e-05/1.173, allocations: 83.97 kB / 1.114 GB, free: 15.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.173, allocations: 0 / 1.114 GB, free: 15.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003082/1.174, allocations: 5.375 kB / 1.114 GB, free: 15.58 MB / 0.698 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.0005645/1.174, allocations: 0.613 MB / 1.115 GB, free: 14.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001115/1.174, allocations: 16.12 kB / 1.115 GB, free: 14.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.174, allocations: 2.453 kB / 1.115 GB, free: 14.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.128e-05/1.174, allocations: 15.03 kB / 1.115 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/1.175, allocations: 10.56 kB / 1.115 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/1.175, allocations: 154.3 kB / 1.115 GB, free: 14.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/1.176, allocations: 0.6752 MB / 1.115 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.464e-05/1.176, allocations: 10.5 kB / 1.115 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/1.176, allocations: 12.03 kB / 1.115 GB, free: 14.1 MB / 0.698 GB Notification: Performance of SimCode: time 3.4e-07/1.176, allocations: 1.75 kB / 1.115 GB, free: 14.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/1.193, allocations: 1.214 MB / 1.117 GB, free: 13.95 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/1.193, allocations: 198.6 kB / 1.117 GB, free: 13.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.844, allocations: 0 / 1.117 GB, free: 13.71 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)