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.61/1.61, allocations: 285.4 MB / 298 MB, free: 5.949 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.001564/0.001564, allocations: 180.8 kB / 366.4 MB, free: 2.059 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.844/1.844, allocations: 205.1 MB / 0.6248 GB, free: 7.699 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.0008939/0.0008939, allocations: 92.09 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.583e-05, allocations: 0 / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8791/0.8792, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.263/6.143, allocations: 2.053 GB / 3.024 GB, free: 41.09 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/6.143, allocations: 75.39 kB / 3.024 GB, free: 41.05 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07272/6.216, allocations: 37.37 MB / 3.061 GB, free: 6.703 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.274e-06/6.216, allocations: 0 / 3.061 GB, free: 6.703 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.002e-05/6.216, allocations: 0 / 3.061 GB, free: 6.703 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.0003458/6.216, allocations: 342.4 kB / 3.061 GB, free: 6.324 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/6.216, allocations: 8.031 kB / 3.061 GB, free: 6.316 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/6.216, allocations: 30.56 kB / 3.061 GB, free: 6.277 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/6.217, allocations: 35.83 kB / 3.061 GB, free: 6.242 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/6.217, allocations: 159.1 kB / 3.061 GB, free: 6.047 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.231e-05/6.217, allocations: 29.7 kB / 3.061 GB, free: 6.012 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/6.217, allocations: 7.984 kB / 3.061 GB, free: 6.004 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/6.217, allocations: 41.69 kB / 3.062 GB, free: 5.957 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/6.217, allocations: 7.922 kB / 3.062 GB, free: 5.949 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/6.217, allocations: 0 / 3.062 GB, free: 5.949 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/6.217, allocations: 7.953 kB / 3.062 GB, free: 5.941 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.842e-05/6.217, allocations: 23.86 kB / 3.062 GB, free: 5.918 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/6.217, allocations: 256.9 kB / 3.062 GB, free: 5.617 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.846e-05/6.218, allocations: 22.61 kB / 3.062 GB, free: 5.586 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/6.218, allocations: 8.922 kB / 3.062 GB, free: 5.574 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/6.218, allocations: 97.08 kB / 3.062 GB, free: 5.461 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/6.218, allocations: 38.52 kB / 3.062 GB, free: 5.414 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/6.218, allocations: 4 kB / 3.062 GB, free: 5.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002325/6.218, allocations: 45.62 kB / 3.062 GB, free: 5.359 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/6.218, allocations: 55.41 kB / 3.062 GB, free: 5.293 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/6.218, allocations: 89 kB / 3.062 GB, free: 5.199 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/6.218, allocations: 25.7 kB / 3.062 GB, free: 5.168 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/6.218, allocations: 100 kB / 3.062 GB, free: 5.066 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/6.218, allocations: 7.891 kB / 3.062 GB, free: 5.059 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/6.218, allocations: 0 / 3.062 GB, free: 5.059 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.587e-05/6.218, allocations: 310.8 kB / 3.063 GB, free: 4.746 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/6.218, allocations: 4 kB / 3.063 GB, free: 4.742 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/6.218, allocations: 22.58 kB / 3.063 GB, free: 4.711 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.539e-05/6.218, allocations: 15.98 kB / 3.063 GB, free: 4.695 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/6.218, allocations: 0 / 3.063 GB, free: 4.695 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.63e-05/6.219, allocations: 49.64 kB / 3.063 GB, free: 4.641 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/6.219, allocations: 11.92 kB / 3.063 GB, free: 4.629 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/6.219, allocations: 0 / 3.063 GB, free: 4.629 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/6.219, allocations: 7.953 kB / 3.063 GB, free: 4.621 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/6.219, allocations: 4 kB / 3.063 GB, free: 4.617 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/6.219, allocations: 1.094 kB / 3.063 GB, free: 4.617 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/6.219, allocations: 8 kB / 3.063 GB, free: 4.609 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/6.219, allocations: 4 kB / 3.063 GB, free: 4.605 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 6.712e-05/6.219, allocations: 109.8 kB / 3.063 GB, free: 4.492 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/6.219, allocations: 0 / 3.063 GB, free: 4.492 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/6.219, allocations: 3.125 kB / 3.063 GB, free: 4.492 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/6.219, allocations: 3.953 kB / 3.063 GB, free: 4.488 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/6.219, allocations: 4 kB / 3.063 GB, free: 4.484 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/6.219, allocations: 11.92 kB / 3.063 GB, free: 4.473 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/6.219, allocations: 359.6 kB / 3.063 GB, free: 4.059 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/6.219, allocations: 0 / 3.063 GB, free: 4.059 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/6.219, allocations: 4 kB / 3.063 GB, free: 4.055 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/6.219, allocations: 7.938 kB / 3.063 GB, free: 4.047 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/6.219, allocations: 0 / 3.063 GB, free: 4.047 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/6.219, allocations: 0 / 3.063 GB, free: 4.047 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/6.219, allocations: 4 kB / 3.063 GB, free: 4.043 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.361e-05/6.219, allocations: 79.72 kB / 3.063 GB, free: 3.938 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/6.219, allocations: 92.97 kB / 3.063 GB, free: 3.828 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/6.219, allocations: 7.922 kB / 3.063 GB, free: 3.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/6.219, allocations: 4 kB / 3.063 GB, free: 3.816 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/6.219, allocations: 0 / 3.063 GB, free: 3.816 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/6.219, allocations: 0 / 3.063 GB, free: 3.816 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.775e-05/6.219, allocations: 87.58 kB / 3.063 GB, free: 3.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/6.219, allocations: 0 / 3.063 GB, free: 3.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003338/6.22, allocations: 43.98 kB / 3.063 GB, free: 3.688 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 () * 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.0009705/6.221, allocations: 1.134 MB / 3.065 GB, free: 2.523 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001071/6.221, allocations: 16 kB / 3.065 GB, free: 2.508 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/6.221, allocations: 0 / 3.065 GB, free: 2.508 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.297e-05/6.221, allocations: 7.938 kB / 3.065 GB, free: 2.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/6.221, allocations: 5.641 kB / 3.065 GB, free: 2.496 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/6.222, allocations: 99.88 kB / 3.065 GB, free: 2.359 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/6.222, allocations: 0.6812 MB / 3.065 GB, free: 1.652 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.337e-05/6.222, allocations: 7.984 kB / 3.065 GB, free: 1.645 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/6.222, allocations: 15.38 kB / 3.065 GB, free: 1.629 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/6.222, allocations: 0 / 3.065 GB, free: 1.629 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6523/6.874, allocations: 11.9 MB / 3.077 GB, free: 329.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/6.874, allocations: 166.4 kB / 3.077 GB, free: 329.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/8.877, allocations: 0 / 3.077 GB, free: 329.5 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)