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.447/1.447, allocations: 288.4 MB / 303.6 MB, free: 8.133 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.0008565/0.0008565, allocations: 189.9 kB / 372.3 MB, free: 10.1 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.166/1.166, allocations: 205.4 MB / 0.631 GB, free: 9.852 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.0006675/0.0006676, allocations: 94.3 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003494, allocations: 15.06 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1614, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003172/0.1646, allocations: 3.56 MB / 0.9836 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001299/0.1648, allocations: 151.6 kB / 0.9838 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.1648, allocations: 3.938 kB / 0.9838 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.382e-05/0.1649, allocations: 0 / 0.9838 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.165, allocations: 15.91 kB / 0.9838 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1652, allocations: 63.78 kB / 0.9839 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.342e-05/0.1653, allocations: 43.89 kB / 0.9839 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.1653, allocations: 3.984 kB / 0.9839 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.036e-05/0.1654, allocations: 11.94 kB / 0.9839 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.1654, allocations: 23.97 kB / 0.984 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.1655, allocations: 0 / 0.984 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.1656, allocations: 63.8 kB / 0.984 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.954e-05/0.1657, allocations: 11.92 kB / 0.984 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.1657, allocations: 33.69 kB / 0.9841 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.7e-05/0.1658, allocations: 32.2 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1658, allocations: 0 / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1658, allocations: 4 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.1658, allocations: 0 / 0.9841 GB, free: 23.2 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.0002639/0.1661, allocations: 331.5 kB / 0.9844 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1661, allocations: 8.031 kB / 0.9844 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.473e-05/0.1662, allocations: 30.75 kB / 0.9844 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.1662, allocations: 8.922 kB / 0.9845 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.559e-05/0.1663, allocations: 168.3 kB / 0.9846 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.1663, allocations: 30.27 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-06/0.1663, allocations: 4.125 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.1665, allocations: 45.67 kB / 0.9847 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1665, allocations: 0 / 0.9847 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1665, allocations: 4 kB / 0.9847 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.1665, allocations: 7.984 kB / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.1665, allocations: 8 kB / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.1669, allocations: 338 kB / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.473e-05/0.1669, allocations: 18.52 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.31e-05/0.1669, allocations: 8.922 kB / 0.9851 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.295e-05/0.167, allocations: 97.08 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.167, allocations: 30.56 kB / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.167, allocations: 0 / 0.9852 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001171/0.1672, allocations: 37.64 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.1672, allocations: 51.41 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.1672, allocations: 101.8 kB / 0.9854 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.1673, allocations: 25.7 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.312e-05/0.1673, allocations: 96.17 kB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.62e-06/0.1673, allocations: 7.906 kB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-06/0.1673, allocations: 0 / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.1673, allocations: 318.8 kB / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.1674, allocations: 7.938 kB / 0.9858 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.612e-05/0.1674, allocations: 13.72 kB / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.1674, allocations: 25.7 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1674, allocations: 3.938 kB / 0.9858 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.81e-05/0.1675, allocations: 45.7 kB / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1675, allocations: 4 kB / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1675, allocations: 0 / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1675, allocations: 3.984 kB / 0.9859 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.865e-05/0.1676, allocations: 8 kB / 0.9859 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1676, allocations: 3.984 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.1676, allocations: 3.938 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1676, allocations: 4.062 kB / 0.9859 GB, free: 21.05 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 4.235e-05/0.1677, allocations: 121.8 kB / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.1677, allocations: 0 / 0.986 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.1678, allocations: 124.8 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.1678, allocations: 180.2 kB / 0.9863 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/0.1678, allocations: 180.3 kB / 0.9865 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/0.1678, allocations: 184.3 kB / 0.9867 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.168, allocations: 409.1 kB / 0.9871 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.168, allocations: 105 kB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.548e-05/0.168, allocations: 108.9 kB / 0.9873 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.19e-05/0.168, allocations: 176.3 kB / 0.9874 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.1681, allocations: 184.3 kB / 0.9876 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.136e-05/0.1681, allocations: 180.2 kB / 0.9878 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-05/0.1681, allocations: 180.3 kB / 0.9879 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.844e-05/0.1682, allocations: 311.7 kB / 0.9882 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.1682, allocations: 182.1 kB / 0.9884 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.1683, allocations: 188.2 kB / 0.9886 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1684, allocations: 109 kB / 0.9887 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.1684, allocations: 184.5 kB / 0.9889 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.1684, allocations: 105 kB / 0.989 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.541e-05/0.1685, allocations: 83.28 kB / 0.9891 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1685, allocations: 0 / 0.9891 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002084/0.1687, allocations: 27.88 kB / 0.9891 GB, free: 17.58 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.0002819/0.169, allocations: 0.8204 MB / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.652e-05/0.169, allocations: 19.98 kB / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.169, allocations: 0 / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.169, allocations: 0 / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1693, allocations: 0.5244 MB / 0.9904 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.1696, allocations: 229.5 kB / 0.9906 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.537e-05/0.1697, allocations: 0.677 MB / 0.9913 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.1697, allocations: 7.984 kB / 0.9913 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.1698, allocations: 7.438 kB / 0.9913 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1698, allocations: 0 / 0.9913 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1954/0.3652, allocations: 1.21 MB / 0.9925 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/0.3653, allocations: 208.8 kB / 0.9927 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.004, allocations: 3.938 kB / 0.9927 GB, free: 13.91 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)