Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.411/1.411, allocations: 287.4 MB / 302.6 MB, free: 8.129 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.0008329/0.0008331, allocations: 175 kB / 371.1 MB, free: 10.75 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.131/1.131, allocations: 205.4 MB / 0.6298 GB, free: 10.46 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.0006391/0.000639, allocations: 94.28 kB / 0.7431 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003329, allocations: 11.08 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.154, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003025/0.1571, allocations: 3.556 MB / 0.9822 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000132/0.1573, allocations: 147.6 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.54e-05/0.1573, allocations: 0 / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.614e-05/0.1574, allocations: 4 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/0.1575, allocations: 11.91 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1577, allocations: 57.8 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.582e-05/0.1578, allocations: 39.89 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.098e-05/0.1578, allocations: 0 / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.1579, allocations: 19.91 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.1579, allocations: 12 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1579, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.1581, allocations: 39.84 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.1582, allocations: 3.984 kB / 0.9825 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.792e-05/0.1582, allocations: 29.7 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.32e-05/0.1583, allocations: 28.2 kB / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1583, allocations: 4 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1583, allocations: 0 / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1583, allocations: 0 / 0.9826 GB, free: 24.12 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.000243/0.1585, allocations: 323.5 kB / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.1586, allocations: 12.03 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.1586, allocations: 30.75 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.1586, allocations: 0.9375 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.795e-05/0.1587, allocations: 168.4 kB / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.1588, allocations: 34.25 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.1588, allocations: 8.062 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.1589, allocations: 49.67 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1589, allocations: 0 / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.1589, allocations: 3.938 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.1589, allocations: 0 / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.159, allocations: 19.98 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.1593, allocations: 338 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.044e-05/0.1593, allocations: 26.5 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.126e-05/0.1593, allocations: 8.859 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.034e-05/0.1594, allocations: 81.17 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.1594, allocations: 38.55 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1594, allocations: 0 / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000105/0.1595, allocations: 37.7 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.536e-05/0.1596, allocations: 51.41 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.999e-05/0.1596, allocations: 109.8 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.343e-06/0.1596, allocations: 29.64 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.1596, allocations: 84.05 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.1597, allocations: 7.906 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-06/0.1597, allocations: 0 / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.266e-05/0.1597, allocations: 318.8 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.1597, allocations: 8.109 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.453e-05/0.1597, allocations: 13.72 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.1598, allocations: 21.72 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1598, allocations: 0 / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.82e-05/0.1598, allocations: 49.62 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1599, allocations: 9.875 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1599, allocations: 4.062 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1599, allocations: 0 / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.702e-05/0.1599, allocations: 4 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1599, allocations: 3.984 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.16, allocations: 4 kB / 0.9844 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.16, allocations: 0 / 0.9844 GB, free: 21.99 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.307e-05/0.16, allocations: 123 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.16, allocations: 0 / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/0.1601, allocations: 128.9 kB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.1601, allocations: 176.3 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/0.1602, allocations: 180.2 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/0.1602, allocations: 180.3 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1603, allocations: 409.1 kB / 0.9855 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.1603, allocations: 112.9 kB / 0.9856 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.1603, allocations: 101 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-05/0.1604, allocations: 184.2 kB / 0.9859 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.1604, allocations: 176.3 kB / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.011e-05/0.1604, allocations: 188.2 kB / 0.9863 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.217e-05/0.1604, allocations: 180.3 kB / 0.9864 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.938e-05/0.1605, allocations: 311.7 kB / 0.9867 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.1605, allocations: 186.1 kB / 0.9869 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.1606, allocations: 184.2 kB / 0.9871 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1607, allocations: 109 kB / 0.9872 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.1607, allocations: 184.2 kB / 0.9874 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1607, allocations: 101 kB / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.549e-05/0.1608, allocations: 87.27 kB / 0.9875 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1608, allocations: 0 / 0.9875 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002028/0.161, allocations: 23.88 kB / 0.9876 GB, free: 18.52 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.0002011/0.1612, allocations: 0.8165 MB / 0.9884 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.88e-05/0.1613, allocations: 15.92 kB / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1613, allocations: 0 / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.1613, allocations: 0 / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1615, allocations: 0.5265 MB / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.1618, allocations: 225.4 kB / 0.9891 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.977e-05/0.1619, allocations: 0.6809 MB / 0.9898 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.1619, allocations: 7.938 kB / 0.9898 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.162, allocations: 15.44 kB / 0.9898 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of SimCode: time 2.8e-07/0.162, allocations: 0 / 0.9898 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3826/0.5446, allocations: 1.179 MB / 0.9909 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001116/0.5448, allocations: 193 kB / 0.9911 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.107, allocations: 0 / 0.9911 GB, free: 14.86 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)