Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.547/2.547, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001548/0.001548, allocations: 183.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001506/0.001506, allocations: 85.3 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007392/0.0007393, allocations: 15.14 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2692, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.283/7.553, allocations: 2.053 GB / 3.032 GB, free: 221.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/7.553, allocations: 79.33 kB / 3.032 GB, free: 221.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1232/7.676, allocations: 37.42 MB / 3.068 GB, free: 190 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.705e-06/7.676, allocations: 0 / 3.068 GB, free: 190 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.929e-06/7.676, allocations: 3.75 kB / 3.068 GB, free: 190 MB / 0.948 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.0004858/7.677, allocations: 348.1 kB / 3.068 GB, free: 189.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/7.677, allocations: 15.95 kB / 3.068 GB, free: 189.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.16e-05/7.677, allocations: 38.27 kB / 3.069 GB, free: 189.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006392/7.678, allocations: 31.88 kB / 3.069 GB, free: 189.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/7.678, allocations: 167 kB / 3.069 GB, free: 189.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/7.678, allocations: 29.7 kB / 3.069 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/7.678, allocations: 0 / 3.069 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/7.678, allocations: 49.36 kB / 3.069 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/7.678, allocations: 0 / 3.069 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/7.678, allocations: 3.953 kB / 3.069 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/7.678, allocations: 0 / 3.069 GB, free: 189.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/7.678, allocations: 23.42 kB / 3.069 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/7.679, allocations: 255.8 kB / 3.069 GB, free: 189 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/7.679, allocations: 22.58 kB / 3.069 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/7.68, allocations: 92.53 kB / 3.069 GB, free: 188.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/7.68, allocations: 42.52 kB / 3.069 GB, free: 188.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 5.11e-06/7.68, allocations: 0 / 3.069 GB, free: 188.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0005346/7.68, allocations: 49.12 kB / 3.069 GB, free: 188.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/7.68, allocations: 51.41 kB / 3.069 GB, free: 188.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/7.681, allocations: 104.4 kB / 3.069 GB, free: 188.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/7.681, allocations: 25.7 kB / 3.069 GB, free: 188.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/7.681, allocations: 84.05 kB / 3.07 GB, free: 188.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/7.681, allocations: 8.031 kB / 3.07 GB, free: 188.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/7.681, allocations: 3.625 kB / 3.07 GB, free: 188.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001022/7.681, allocations: 318.8 kB / 3.07 GB, free: 188.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/7.681, allocations: 0 / 3.07 GB, free: 188.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.646e-05/7.681, allocations: 26.27 kB / 3.07 GB, free: 188.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.34e-05/7.681, allocations: 7.984 kB / 3.07 GB, free: 188.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/7.681, allocations: 4 kB / 3.07 GB, free: 188.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002629/7.681, allocations: 49.14 kB / 3.07 GB, free: 188 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/7.681, allocations: 7.984 kB / 3.07 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/7.681, allocations: 11.89 kB / 3.07 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/7.682, allocations: 0 / 3.07 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/7.682, allocations: 11.62 kB / 3.07 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/7.682, allocations: 4 kB / 3.07 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/7.682, allocations: 3.906 kB / 3.07 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/7.682, allocations: 0 / 3.07 GB, free: 188 MB / 0.948 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.0001536/7.682, allocations: 113.9 kB / 3.07 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/7.682, allocations: 0 / 3.07 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/7.682, allocations: 10.91 kB / 3.07 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/7.682, allocations: 7.938 kB / 3.07 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/7.682, allocations: 0 / 3.07 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/7.682, allocations: 3.984 kB / 3.07 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007446/7.683, allocations: 358.6 kB / 3.07 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/7.683, allocations: 4.031 kB / 3.07 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/7.683, allocations: 11.94 kB / 3.07 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/7.683, allocations: 0 / 3.07 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/7.683, allocations: 4 kB / 3.07 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/7.683, allocations: 0 / 3.07 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/7.683, allocations: 0 / 3.07 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/7.684, allocations: 94.73 kB / 3.071 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/7.684, allocations: 85 kB / 3.071 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/7.684, allocations: 0 / 3.071 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/7.684, allocations: 4 kB / 3.071 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/7.684, allocations: 0 / 3.071 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/7.684, allocations: 4 kB / 3.071 GB, free: 187.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.756e-05/7.684, allocations: 83.27 kB / 3.071 GB, free: 187.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.71e-07/7.684, allocations: 0 / 3.071 GB, free: 187.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009342/7.685, allocations: 41.41 kB / 3.071 GB, free: 187.1 MB / 0.948 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.00212/7.687, allocations: 1.136 MB / 3.072 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002308/7.688, allocations: 12 kB / 3.072 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.976e-06/7.688, allocations: 4.188 kB / 3.072 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/7.688, allocations: 15.31 kB / 3.072 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/7.688, allocations: 3.984 kB / 3.072 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008306/7.689, allocations: 159.4 kB / 3.072 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/7.689, allocations: 0.6849 MB / 3.073 GB, free: 185 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001377/7.69, allocations: 11.98 kB / 3.073 GB, free: 185 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/7.69, allocations: 7.438 kB / 3.073 GB, free: 185 MB / 0.948 GB Notification: Performance of SimCode: time 1.273e-06/7.69, allocations: 0 / 3.073 GB, free: 185 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03681/7.726, allocations: 10.18 MB / 3.083 GB, free: 174.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/7.727, allocations: 185.5 kB / 3.083 GB, free: 174.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/10.71, allocations: 0 / 3.083 GB, free: 174.7 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)