Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.692/1.692, allocations: 288.4 MB / 303.3 MB, free: 8.211 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.0009329/0.0009329, allocations: 190.8 kB / 372 MB, free: 10.25 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.601/1.601, allocations: 205.4 MB / 0.6307 GB, free: 9.953 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.0007394/0.0007394, allocations: 90.36 kB / 0.744 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004177, allocations: 14.81 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2257, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003509/0.2293, allocations: 2.879 MB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 9.854e-05/0.2294, allocations: 51.89 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.2294, allocations: 0 / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.2296, allocations: 11.92 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.905e-05/0.2297, allocations: 3.938 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.2303, allocations: 131.4 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.903e-05/0.2304, allocations: 43.89 kB / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.2304, allocations: 0 / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.2305, allocations: 15.92 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.2306, allocations: 11.98 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2306, allocations: 7.938 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.2309, allocations: 95.67 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.2309, allocations: 7.984 kB / 0.9828 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.2309, allocations: 25.7 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.2311, allocations: 64.11 kB / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2311, allocations: 0 / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2311, allocations: 3.984 kB / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.2312, allocations: 0 / 0.9829 GB, free: 24.16 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.0003573/0.2315, allocations: 339.4 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2316, allocations: 12.02 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.2316, allocations: 34.56 kB / 0.9833 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.2316, allocations: 7.859 kB / 0.9833 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.2317, allocations: 159.1 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.22e-05/0.2318, allocations: 29.7 kB / 0.9835 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.2318, allocations: 7.984 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.232, allocations: 41.62 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.232, allocations: 0 / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.232, allocations: 8 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.232, allocations: 0 / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.2321, allocations: 19.94 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.2326, allocations: 0.5795 MB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.662e-05/0.2327, allocations: 14.58 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.2327, allocations: 12.8 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.2329, allocations: 348.5 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.2329, allocations: 30.56 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.2329, allocations: 0 / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.2331, allocations: 45.64 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.2331, allocations: 51.41 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.083e-05/0.2332, allocations: 101.8 kB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.2332, allocations: 25.7 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.2332, allocations: 96.16 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.2333, allocations: 11.84 kB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.2333, allocations: 0 / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.61e-05/0.2333, allocations: 314.8 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.2333, allocations: 8 kB / 0.9851 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.2334, allocations: 17.7 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.098e-05/0.2334, allocations: 4 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2334, allocations: 0 / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.95e-05/0.2335, allocations: 53.62 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2335, allocations: 4 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2335, allocations: 0 / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2335, allocations: 7.953 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.2336, allocations: 11.94 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2336, allocations: 0 / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.956e-05/0.2336, allocations: 0 / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.2336, allocations: 4 kB / 0.9852 GB, free: 21.41 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.217e-05/0.2337, allocations: 113.9 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.2337, allocations: 7.984 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.115e-05/0.2338, allocations: 116.9 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/0.2339, allocations: 184.2 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.912e-05/0.2339, allocations: 180.2 kB / 0.9858 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.2339, allocations: 184.2 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.2341, allocations: 405.2 kB / 0.9864 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.2341, allocations: 104.9 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.2341, allocations: 105 kB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.782e-05/0.2342, allocations: 180.3 kB / 0.9867 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.2342, allocations: 180.2 kB / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.808e-05/0.2342, allocations: 180.3 kB / 0.9871 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.969e-05/0.2343, allocations: 188.1 kB / 0.9872 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.645e-05/0.2343, allocations: 307.7 kB / 0.9875 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.2344, allocations: 186 kB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.2344, allocations: 176.3 kB / 0.9879 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.2346, allocations: 116.9 kB / 0.988 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.2346, allocations: 188.2 kB / 0.9882 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.2347, allocations: 108.9 kB / 0.9883 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.19e-05/0.2347, allocations: 83.22 kB / 0.9884 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2347, allocations: 0 / 0.9884 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002631/0.235, allocations: 35.98 kB / 0.9884 GB, free: 17.94 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.0004055/0.2354, allocations: 0.8556 MB / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.651e-05/0.2355, allocations: 8.266 kB / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2355, allocations: 0 / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.2355, allocations: 0 / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.236, allocations: 0.5303 MB / 0.9898 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.2364, allocations: 233.8 kB / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.2366, allocations: 0.6731 MB / 0.9906 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.2367, allocations: 9.219 kB / 0.9906 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.2367, allocations: 15.38 kB / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2367, allocations: 4 kB / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.2495, allocations: 1.874 MB / 0.9925 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.2498, allocations: 254.2 kB / 0.9927 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/1.849, allocations: 0 / 0.9927 GB, free: 13.55 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)