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.382/1.382, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 176.7 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.0009833/0.0009833, allocations: 99.7 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003371, allocations: 8.844 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2613, allocations: 106.3 MB / 0.9001 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.621/5.883, allocations: 2.171 GB / 3.072 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/5.883, allocations: 79.39 kB / 3.072 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6671/6.55, allocations: 36.68 MB / 3.108 GB, free: 332.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.304e-06/6.55, allocations: 3.938 kB / 3.108 GB, free: 332.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.085e-05/6.55, allocations: 0 / 3.108 GB, free: 332.2 MB / 0.8855 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.0003329/6.551, allocations: 346.7 kB / 3.108 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/6.551, allocations: 7.812 kB / 3.108 GB, free: 331.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/6.551, allocations: 34.19 kB / 3.108 GB, free: 331.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/6.551, allocations: 27.36 kB / 3.108 GB, free: 331.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.876e-05/6.551, allocations: 163 kB / 3.108 GB, free: 331.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/6.551, allocations: 29.67 kB / 3.108 GB, free: 331.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/6.551, allocations: 0 / 3.108 GB, free: 331.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/6.551, allocations: 49.17 kB / 3.108 GB, free: 331.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/6.551, allocations: 0 / 3.108 GB, free: 331.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/6.551, allocations: 0 / 3.108 GB, free: 331.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/6.551, allocations: 3.938 kB / 3.108 GB, free: 331.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.648e-05/6.551, allocations: 23.64 kB / 3.108 GB, free: 331.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/6.552, allocations: 263.4 kB / 3.108 GB, free: 331.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/6.552, allocations: 28.33 kB / 3.108 GB, free: 331.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/6.552, allocations: 91.2 kB / 3.109 GB, free: 331.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/6.552, allocations: 34.56 kB / 3.109 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/6.552, allocations: 0 / 3.109 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002299/6.552, allocations: 54.95 kB / 3.109 GB, free: 331.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/6.552, allocations: 54.34 kB / 3.109 GB, free: 331 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.833e-05/6.552, allocations: 91.44 kB / 3.109 GB, free: 330.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/6.552, allocations: 29.23 kB / 3.109 GB, free: 330.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.449e-05/6.552, allocations: 87.98 kB / 3.109 GB, free: 330.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/6.553, allocations: 15.78 kB / 3.109 GB, free: 330.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/6.553, allocations: 0 / 3.109 GB, free: 330.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/6.553, allocations: 318.7 kB / 3.109 GB, free: 330.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/6.553, allocations: 0 / 3.109 GB, free: 330.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/6.553, allocations: 28.77 kB / 3.109 GB, free: 330.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.234e-05/6.553, allocations: 7.875 kB / 3.109 GB, free: 330.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/6.553, allocations: 4 kB / 3.109 GB, free: 330.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.729e-05/6.553, allocations: 55.48 kB / 3.109 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/6.553, allocations: 2.75 kB / 3.109 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/6.553, allocations: 3.844 kB / 3.109 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/6.553, allocations: 0 / 3.109 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/6.553, allocations: 14 kB / 3.109 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/6.553, allocations: 0 / 3.109 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/6.553, allocations: 2.688 kB / 3.109 GB, free: 330.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/6.553, allocations: 0 / 3.109 GB, free: 330.4 MB / 0.8855 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 6.082e-05/6.553, allocations: 117.4 kB / 3.109 GB, free: 330.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/6.553, allocations: 4.219 kB / 3.109 GB, free: 330.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/6.553, allocations: 9.969 kB / 3.109 GB, free: 330.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/6.553, allocations: 7.922 kB / 3.109 GB, free: 330.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/6.553, allocations: 0 / 3.109 GB, free: 330.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/6.553, allocations: 0 / 3.109 GB, free: 330.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/6.553, allocations: 373.4 kB / 3.11 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/6.553, allocations: 0 / 3.11 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/6.553, allocations: 2.656 kB / 3.11 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/6.553, allocations: 0 / 3.11 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/6.553, allocations: 3.469 kB / 3.11 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/6.553, allocations: 0 / 3.11 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/6.553, allocations: 3.938 kB / 3.11 GB, free: 329.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.44e-05/6.553, allocations: 90.97 kB / 3.11 GB, free: 329.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/6.554, allocations: 77.11 kB / 3.11 GB, free: 329.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/6.554, allocations: 2.625 kB / 3.11 GB, free: 329.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.466e-05/6.554, allocations: 3.406 kB / 3.11 GB, free: 329.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/6.554, allocations: 7.891 kB / 3.11 GB, free: 329.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/6.554, allocations: 1.406 kB / 3.11 GB, free: 329.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.779e-05/6.554, allocations: 83.25 kB / 3.11 GB, free: 329.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/6.554, allocations: 0 / 3.11 GB, free: 329.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003391/6.554, allocations: 45.39 kB / 3.11 GB, free: 329.6 MB / 0.8855 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.0008891/6.555, allocations: 1.138 MB / 3.111 GB, free: 328.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.975e-05/6.555, allocations: 20.77 kB / 3.111 GB, free: 328.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/6.555, allocations: 4.062 kB / 3.111 GB, free: 328.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.986e-06/6.555, allocations: 3.688 kB / 3.111 GB, free: 328.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/6.555, allocations: 7.75 kB / 3.111 GB, free: 328.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/6.556, allocations: 167.6 kB / 3.111 GB, free: 328.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/6.556, allocations: 0.6814 MB / 3.112 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.834e-05/6.556, allocations: 10.44 kB / 3.112 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/6.556, allocations: 11.38 kB / 3.112 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/6.556, allocations: 0 / 3.112 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/6.576, allocations: 10.18 MB / 3.122 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/6.576, allocations: 189.5 kB / 3.122 GB, free: 324.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/8.479, allocations: 1.688 kB / 3.122 GB, free: 324.1 MB / 0.8855 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)