Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001068/0.001068, allocations: 187.7 kB / 377.1 MB, free: 1.512 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.884/1.884, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.0008828/0.0008827, allocations: 90.88 kB / 0.7509 GB, free: 63.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3128, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.585/5.898, allocations: 2.054 GB / 3.043 GB, free: 128.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/5.899, allocations: 76.38 kB / 3.043 GB, free: 128.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07086/5.969, allocations: 37.44 MB / 3.079 GB, free: 92.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.164e-06/5.97, allocations: 0 / 3.079 GB, free: 92.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.564e-06/5.97, allocations: 0 / 3.079 GB, free: 92.52 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.000388/5.97, allocations: 348.9 kB / 3.08 GB, free: 92.13 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/5.97, allocations: 16.02 kB / 3.08 GB, free: 92.11 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.228e-05/5.97, allocations: 30.56 kB / 3.08 GB, free: 92.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/5.97, allocations: 35.83 kB / 3.08 GB, free: 92.04 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.891e-05/5.97, allocations: 159.1 kB / 3.08 GB, free: 91.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/5.971, allocations: 29.69 kB / 3.08 GB, free: 91.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/5.971, allocations: 8 kB / 3.08 GB, free: 91.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/5.971, allocations: 41.62 kB / 3.08 GB, free: 91.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/5.971, allocations: 3.938 kB / 3.08 GB, free: 91.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/5.971, allocations: 3.984 kB / 3.08 GB, free: 91.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/5.971, allocations: 19.94 kB / 3.08 GB, free: 91.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.286e-05/5.971, allocations: 19.98 kB / 3.08 GB, free: 91.71 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/5.971, allocations: 244.9 kB / 3.08 GB, free: 91.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.195e-05/5.971, allocations: 22.61 kB / 3.08 GB, free: 91.39 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/5.971, allocations: 93.16 kB / 3.08 GB, free: 91.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/5.971, allocations: 42.5 kB / 3.08 GB, free: 91.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/5.971, allocations: 0 / 3.08 GB, free: 91.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002563/5.972, allocations: 49.64 kB / 3.081 GB, free: 91.17 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/5.972, allocations: 55.41 kB / 3.081 GB, free: 91.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.816e-05/5.972, allocations: 92.94 kB / 3.081 GB, free: 91.01 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/5.972, allocations: 25.7 kB / 3.081 GB, free: 90.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/5.972, allocations: 100.2 kB / 3.081 GB, free: 90.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-06/5.972, allocations: 3.906 kB / 3.081 GB, free: 90.87 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/5.972, allocations: 0 / 3.081 GB, free: 90.87 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.572e-05/5.972, allocations: 310.8 kB / 3.081 GB, free: 90.56 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/5.972, allocations: 8 kB / 3.081 GB, free: 90.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/5.972, allocations: 26.5 kB / 3.081 GB, free: 90.52 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.505e-05/5.972, allocations: 12 kB / 3.081 GB, free: 90.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/5.972, allocations: 0 / 3.081 GB, free: 90.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.002e-05/5.972, allocations: 57.62 kB / 3.081 GB, free: 90.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/5.972, allocations: 4 kB / 3.081 GB, free: 90.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/5.972, allocations: 3.938 kB / 3.081 GB, free: 90.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/5.972, allocations: 7.953 kB / 3.081 GB, free: 90.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/5.972, allocations: 4 kB / 3.081 GB, free: 90.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/5.972, allocations: 0 / 3.081 GB, free: 90.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/5.972, allocations: 7.906 kB / 3.081 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/5.972, allocations: 4.094 kB / 3.081 GB, free: 90.41 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 7.958e-05/5.973, allocations: 113.8 kB / 3.081 GB, free: 90.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/5.973, allocations: 0 / 3.081 GB, free: 90.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/5.973, allocations: 7.125 kB / 3.081 GB, free: 90.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/5.973, allocations: 0 / 3.081 GB, free: 90.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/5.973, allocations: 7.953 kB / 3.081 GB, free: 90.28 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/5.973, allocations: 288 / 3.081 GB, free: 90.28 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/5.973, allocations: 363.6 kB / 3.082 GB, free: 89.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/5.973, allocations: 0 / 3.082 GB, free: 89.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/5.973, allocations: 4 kB / 3.082 GB, free: 89.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/5.973, allocations: 3.953 kB / 3.082 GB, free: 89.85 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/5.973, allocations: 7.922 kB / 3.082 GB, free: 89.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/5.973, allocations: 4 kB / 3.082 GB, free: 89.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/5.973, allocations: 7.938 kB / 3.082 GB, free: 89.83 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.69e-05/5.973, allocations: 79.77 kB / 3.082 GB, free: 89.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/5.973, allocations: 88.97 kB / 3.082 GB, free: 89.62 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/5.973, allocations: 0 / 3.082 GB, free: 89.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/5.973, allocations: 7.984 kB / 3.082 GB, free: 89.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/5.973, allocations: 4 kB / 3.082 GB, free: 89.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/5.973, allocations: 0 / 3.082 GB, free: 89.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.444e-05/5.973, allocations: 79.28 kB / 3.082 GB, free: 89.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/5.973, allocations: 4.031 kB / 3.082 GB, free: 89.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003575/5.974, allocations: 43.98 kB / 3.082 GB, free: 89.48 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.001032/5.975, allocations: 1.138 MB / 3.083 GB, free: 88.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001054/5.975, allocations: 27.92 kB / 3.083 GB, free: 88.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/5.975, allocations: 0 / 3.083 GB, free: 88.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/5.975, allocations: 4 kB / 3.083 GB, free: 88.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/5.975, allocations: 2.625 kB / 3.083 GB, free: 88.29 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/5.975, allocations: 167.6 kB / 3.083 GB, free: 88.09 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/5.976, allocations: 0.6848 MB / 3.084 GB, free: 87.38 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.327e-05/5.976, allocations: 4 kB / 3.084 GB, free: 87.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/5.976, allocations: 11.38 kB / 3.084 GB, free: 87.36 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/5.976, allocations: 0 / 3.084 GB, free: 87.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/5.997, allocations: 10.17 MB / 3.094 GB, free: 77.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/5.998, allocations: 179.8 kB / 3.094 GB, free: 77.06 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/7.855, allocations: 4 kB / 3.094 GB, free: 77.05 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)