Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.538/1.538, allocations: 249.5 MB / 257 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009926/0.0009927, allocations: 172.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009215/0.0009214, allocations: 83.39 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.703e-05, allocations: 0 / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2188, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.326/6.545, allocations: 2.172 GB / 3.057 GB, free: 193 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/6.546, allocations: 79.81 kB / 3.057 GB, free: 193 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06638/6.612, allocations: 35.96 MB / 3.092 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.545e-06/6.612, allocations: 0 / 3.092 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.787e-06/6.612, allocations: 0 / 3.092 GB, free: 163.8 MB / 0.8698 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.0004128/6.612, allocations: 346.2 kB / 3.093 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/6.613, allocations: 12.03 kB / 3.093 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/6.613, allocations: 23.62 kB / 3.093 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/6.613, allocations: 171 kB / 3.093 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/6.613, allocations: 29.7 kB / 3.093 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/6.613, allocations: 0 / 3.093 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001079/6.613, allocations: 19.67 kB / 3.093 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.822e-05/6.613, allocations: 41.69 kB / 3.093 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/6.613, allocations: 0 / 3.093 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/6.613, allocations: 7.891 kB / 3.093 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/6.613, allocations: 4 kB / 3.093 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/6.614, allocations: 329.8 kB / 3.093 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.762e-05/6.614, allocations: 18.58 kB / 3.093 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/6.614, allocations: 4.859 kB / 3.093 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.565e-06/6.614, allocations: 0 / 3.093 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/6.614, allocations: 34.62 kB / 3.093 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 2.404e-06/6.614, allocations: 0 / 3.093 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0002237/6.614, allocations: 57.45 kB / 3.093 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/6.614, allocations: 51.41 kB / 3.093 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/6.614, allocations: 96.56 kB / 3.093 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/6.614, allocations: 29.64 kB / 3.093 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/6.615, allocations: 91.97 kB / 3.094 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/6.615, allocations: 3.906 kB / 3.094 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/6.615, allocations: 0 / 3.094 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.465e-05/6.615, allocations: 322.6 kB / 3.094 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/6.615, allocations: 0 / 3.094 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/6.615, allocations: 18.58 kB / 3.094 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.189e-05/6.615, allocations: 11.23 kB / 3.094 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/6.615, allocations: 4 kB / 3.094 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.775e-05/6.615, allocations: 45.62 kB / 3.094 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/6.615, allocations: 14.12 kB / 3.094 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/6.615, allocations: 0 / 3.094 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/6.615, allocations: 96 / 3.094 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/6.615, allocations: 11.94 kB / 3.094 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/6.615, allocations: 4 kB / 3.094 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/6.615, allocations: 0 / 3.094 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/6.615, allocations: 7.625 kB / 3.094 GB, free: 161.8 MB / 0.8698 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 7.547e-05/6.615, allocations: 104.9 kB / 3.094 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.334e-05/6.615, allocations: 37.59 kB / 3.094 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/6.615, allocations: 8.031 kB / 3.094 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/6.615, allocations: 11.66 kB / 3.094 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/6.615, allocations: 0 / 3.094 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/6.615, allocations: 0 / 3.094 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/6.615, allocations: 0 / 3.094 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/6.615, allocations: 323.2 kB / 3.094 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/6.615, allocations: 256 / 3.094 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.288e-05/6.615, allocations: 4 kB / 3.094 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/6.615, allocations: 11.98 kB / 3.094 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/6.615, allocations: 0 / 3.094 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/6.615, allocations: 3.984 kB / 3.094 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/6.616, allocations: 0 / 3.094 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.009e-05/6.616, allocations: 56.39 kB / 3.094 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/6.616, allocations: 81.05 kB / 3.095 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/6.616, allocations: 3.953 kB / 3.095 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/6.616, allocations: 12.02 kB / 3.095 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/6.616, allocations: 0 / 3.095 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/6.616, allocations: 0 / 3.095 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.087e-05/6.616, allocations: 83.22 kB / 3.095 GB, free: 161 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/6.616, allocations: 0 / 3.095 GB, free: 161 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002705/6.616, allocations: 33.3 kB / 3.095 GB, free: 161 MB / 0.8698 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.0009495/6.617, allocations: 1.14 MB / 3.096 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.817e-05/6.617, allocations: 12 kB / 3.096 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/6.617, allocations: 0 / 3.096 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.001e-06/6.617, allocations: 7.938 kB / 3.096 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/6.617, allocations: 7.938 kB / 3.096 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/6.618, allocations: 94.16 kB / 3.096 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/6.618, allocations: 0.6768 MB / 3.097 GB, free: 159 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.464e-05/6.618, allocations: 8.25 kB / 3.097 GB, free: 159 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/6.618, allocations: 7.438 kB / 3.097 GB, free: 159 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/6.618, allocations: 0 / 3.097 GB, free: 159 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/6.643, allocations: 5.217 MB / 3.102 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/6.643, allocations: 163.4 kB / 3.102 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/8.479, allocations: 0 / 3.102 GB, free: 153.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)