Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.647/1.647, allocations: 288.2 MB / 303.2 MB, free: 8.215 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.001107/0.001107, allocations: 181 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008705/0.0008705, allocations: 105.8 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007954/0.0007955, allocations: 11.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3431, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004164/0.3473, allocations: 3.386 MB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.3475, allocations: 123.8 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.3476, allocations: 4 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.3477, allocations: 0 / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.3477, allocations: 11.92 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.348, allocations: 55.83 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.3481, allocations: 15.98 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.144e-05/0.3482, allocations: 3.984 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.3482, allocations: 11.98 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.3483, allocations: 11.94 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3483, allocations: 0 / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.3485, allocations: 31.97 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.3485, allocations: 15.86 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.3485, allocations: 29.7 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3486, allocations: 32.2 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3487, allocations: 0 / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3487, allocations: 0 / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3487, allocations: 0 / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003619/0.349, allocations: 327.3 kB / 0.9834 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3491, allocations: 16.02 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.3491, allocations: 38.56 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.3492, allocations: 3.953 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.241e-05/0.3493, allocations: 163.1 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.3493, allocations: 29.69 kB / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3494, allocations: 0 / 0.9837 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.3495, allocations: 53.67 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3495, allocations: 7.922 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3495, allocations: 0 / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.3496, allocations: 8 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.33e-05/0.3496, allocations: 15.94 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.35, allocations: 334 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/0.3501, allocations: 18.58 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.559e-05/0.3501, allocations: 81.17 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.3502, allocations: 38.5 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3502, allocations: 4 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001399/0.3503, allocations: 41.64 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.3504, allocations: 51.41 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.3504, allocations: 101.8 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.3504, allocations: 25.7 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.3505, allocations: 88.05 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.45e-06/0.3505, allocations: 3.906 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.3505, allocations: 0 / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.3506, allocations: 319 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.3506, allocations: 4 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.3506, allocations: 17.7 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.97e-05/0.3506, allocations: 11.94 kB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3506, allocations: 0 / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.672e-05/0.3507, allocations: 41.69 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3507, allocations: 8.062 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3507, allocations: 4 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3508, allocations: 3.953 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.3508, allocations: 7.938 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3508, allocations: 3.938 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.3508, allocations: 4 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.3509, allocations: 7.938 kB / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.597e-05/0.3509, allocations: 109.8 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.3509, allocations: 4 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.3511, allocations: 121 kB / 0.9851 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-05/0.3511, allocations: 180.2 kB / 0.9853 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.102e-05/0.3512, allocations: 184.2 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.883e-05/0.3512, allocations: 180.2 kB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.3514, allocations: 413.1 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.3514, allocations: 105 kB / 0.9861 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.3514, allocations: 108.9 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.621e-05/0.3514, allocations: 176.3 kB / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.3515, allocations: 180.2 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.229e-05/0.3515, allocations: 180.2 kB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.278e-05/0.3515, allocations: 188.3 kB / 0.9869 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.258e-05/0.3516, allocations: 303.7 kB / 0.9872 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.3517, allocations: 190 kB / 0.9874 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.3517, allocations: 176.3 kB / 0.9876 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3519, allocations: 109 kB / 0.9877 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3519, allocations: 188.2 kB / 0.9879 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3519, allocations: 101 kB / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.352, allocations: 91.23 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.352, allocations: 0 / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002136/0.3522, allocations: 15.94 kB / 0.9881 GB, free: 18.29 MB / 0.6198 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003117/0.3525, allocations: 0.8282 MB / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.175e-05/0.3526, allocations: 4 kB / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3526, allocations: 0 / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.3526, allocations: 0 / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.3529, allocations: 0.5381 MB / 0.9894 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.3532, allocations: 217.4 kB / 0.9896 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.3534, allocations: 0.677 MB / 0.9903 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.795e-05/0.3534, allocations: 8 kB / 0.9903 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.3534, allocations: 15.44 kB / 0.9903 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.3535, allocations: 0 / 0.9903 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.3644, allocations: 1.186 MB / 0.9914 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/0.3646, allocations: 209.2 kB / 0.9916 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.397/1.762, allocations: 64 / 0.9916 GB, free: 14.63 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)