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.749/1.749, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001105/0.001105, allocations: 176.4 kB / 361.4 MB, free: 6.82 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.835/1.835, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 95.56 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.203e-05/2.205e-05, allocations: 4 kB / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7676, allocations: 115.3 MB / 0.9644 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.14/5.908, allocations: 2.053 GB / 3.017 GB, free: 108.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/5.908, allocations: 67.97 kB / 3.017 GB, free: 108.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06967/5.978, allocations: 36.73 MB / 3.053 GB, free: 71.49 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.084e-06/5.978, allocations: 4 kB / 3.053 GB, free: 71.49 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.957e-06/5.978, allocations: 0 / 3.053 GB, free: 71.49 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.0003579/5.978, allocations: 342.4 kB / 3.053 GB, free: 71.11 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/5.979, allocations: 8.031 kB / 3.053 GB, free: 71.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/5.979, allocations: 31.83 kB / 3.053 GB, free: 71.07 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/5.979, allocations: 159.1 kB / 3.054 GB, free: 70.88 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-05/5.979, allocations: 33.7 kB / 3.054 GB, free: 70.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/5.979, allocations: 0 / 3.054 GB, free: 70.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.922e-05/5.979, allocations: 19.98 kB / 3.054 GB, free: 70.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.415e-05/5.979, allocations: 41.69 kB / 3.054 GB, free: 70.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/5.979, allocations: 3.938 kB / 3.054 GB, free: 70.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/5.979, allocations: 0 / 3.054 GB, free: 70.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/5.979, allocations: 19.81 kB / 3.054 GB, free: 70.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/5.98, allocations: 325 kB / 3.054 GB, free: 70.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/5.98, allocations: 18.58 kB / 3.054 GB, free: 70.35 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/5.98, allocations: 4.859 kB / 3.054 GB, free: 70.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/5.98, allocations: 0 / 3.054 GB, free: 70.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/5.98, allocations: 30.56 kB / 3.054 GB, free: 70.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/5.98, allocations: 3.984 kB / 3.054 GB, free: 70.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0002222/5.98, allocations: 49.7 kB / 3.054 GB, free: 70.24 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/5.98, allocations: 59.34 kB / 3.054 GB, free: 70.17 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.77e-05/5.98, allocations: 92.98 kB / 3.054 GB, free: 70.07 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/5.98, allocations: 29.7 kB / 3.054 GB, free: 70.04 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/5.98, allocations: 95.89 kB / 3.054 GB, free: 69.94 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-06/5.98, allocations: 0 / 3.054 GB, free: 69.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/5.98, allocations: 0 / 3.054 GB, free: 69.94 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.048e-05/5.98, allocations: 310.8 kB / 3.055 GB, free: 69.63 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/5.98, allocations: 16.02 kB / 3.055 GB, free: 69.61 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/5.98, allocations: 18.58 kB / 3.055 GB, free: 69.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.989e-05/5.98, allocations: 4 kB / 3.055 GB, free: 69.58 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/5.98, allocations: 0 / 3.055 GB, free: 69.58 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.391e-05/5.981, allocations: 53.62 kB / 3.055 GB, free: 69.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/5.981, allocations: 8.875 kB / 3.055 GB, free: 69.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/5.981, allocations: 0 / 3.055 GB, free: 69.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/5.981, allocations: 4 kB / 3.055 GB, free: 69.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/5.981, allocations: 4 kB / 3.055 GB, free: 69.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/5.981, allocations: 3.953 kB / 3.055 GB, free: 69.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/5.981, allocations: 7.906 kB / 3.055 GB, free: 69.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/5.981, allocations: 3.984 kB / 3.055 GB, free: 69.49 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 () * 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 5.919e-05/5.981, allocations: 108.9 kB / 3.055 GB, free: 69.38 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.528e-05/5.981, allocations: 29.7 kB / 3.055 GB, free: 69.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/5.981, allocations: 4.031 kB / 3.055 GB, free: 69.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/5.981, allocations: 11.75 kB / 3.055 GB, free: 69.33 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/5.981, allocations: 3.953 kB / 3.055 GB, free: 69.33 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/5.981, allocations: 3.938 kB / 3.055 GB, free: 69.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/5.981, allocations: 0 / 3.055 GB, free: 69.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/5.981, allocations: 325.7 kB / 3.055 GB, free: 68.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/5.981, allocations: 0 / 3.055 GB, free: 68.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/5.981, allocations: 3.938 kB / 3.055 GB, free: 68.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/5.981, allocations: 4.031 kB / 3.055 GB, free: 68.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/5.981, allocations: 7.953 kB / 3.055 GB, free: 68.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/5.981, allocations: 0 / 3.055 GB, free: 68.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/5.981, allocations: 0 / 3.055 GB, free: 68.95 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.608e-05/5.981, allocations: 53.05 kB / 3.055 GB, free: 68.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/5.981, allocations: 89.03 kB / 3.055 GB, free: 68.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/5.981, allocations: 0 / 3.055 GB, free: 68.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.548e-05/5.981, allocations: 11.98 kB / 3.055 GB, free: 68.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/5.981, allocations: 0 / 3.055 GB, free: 68.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/5.981, allocations: 0 / 3.055 GB, free: 68.76 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.145e-05/5.982, allocations: 88.2 kB / 3.056 GB, free: 68.67 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/5.982, allocations: 0 / 3.056 GB, free: 68.67 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002732/5.982, allocations: 32 kB / 3.056 GB, free: 68.64 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0008986/5.983, allocations: 1.138 MB / 3.057 GB, free: 67.49 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.14e-05/5.983, allocations: 12 kB / 3.057 GB, free: 67.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/5.983, allocations: 0 / 3.057 GB, free: 67.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/5.983, allocations: 0 / 3.057 GB, free: 67.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/5.983, allocations: 12.64 kB / 3.057 GB, free: 67.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/5.983, allocations: 89.97 kB / 3.057 GB, free: 67.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/5.983, allocations: 0.6814 MB / 3.057 GB, free: 66.63 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.957e-05/5.984, allocations: 8.234 kB / 3.057 GB, free: 66.62 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/5.984, allocations: 11.44 kB / 3.057 GB, free: 66.61 MB / 0.948 GB Notification: Performance of SimCode: time 2.51e-07/5.984, allocations: 3.938 kB / 3.057 GB, free: 66.61 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/6.009, allocations: 5.216 MB / 3.063 GB, free: 61.43 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/6.009, allocations: 154.5 kB / 3.063 GB, free: 61.24 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/7.735, allocations: 5.297 kB / 3.063 GB, free: 61.24 MB / 0.948 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)