Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.744/1.744, allocations: 288.2 MB / 303.2 MB, free: 8.254 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.001237/0.001237, allocations: 187.5 kB / 371.8 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.343/1.343, allocations: 205.4 MB / 0.6305 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.0007969/0.000797, allocations: 108.1 kB / 0.7439 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004318, allocations: 18.39 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1543, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00272/0.157, allocations: 3.145 MB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001079/0.1572, allocations: 123.8 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.1572, allocations: 0 / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.335e-05/0.1573, allocations: 3.984 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.1573, allocations: 8 kB / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1575, allocations: 55.78 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.21e-05/0.1576, allocations: 23.95 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.1576, allocations: 0 / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.586e-05/0.1576, allocations: 11.98 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.1577, allocations: 7.938 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1577, allocations: 0 / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.1581, allocations: 159.7 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.1581, allocations: 4 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.1581, allocations: 29.7 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.082e-05/0.1582, allocations: 36.19 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.1582, allocations: 0 / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1582, allocations: 0 / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.1582, allocations: 0 / 0.983 GB, free: 23.95 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.0002229/0.1584, allocations: 319.4 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.1585, allocations: 12.03 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.475e-05/0.1585, allocations: 38.56 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.1585, allocations: 7.859 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.89e-05/0.1586, allocations: 163.1 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.1586, allocations: 33.64 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.1587, allocations: 0 / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.637e-05/0.1588, allocations: 37.69 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-06/0.1588, allocations: 4 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1588, allocations: 0 / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.1588, allocations: 0 / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.264e-05/0.1588, allocations: 23.94 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.1591, allocations: 334 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.437e-05/0.1591, allocations: 26.52 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-05/0.1592, allocations: 81.11 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.1592, allocations: 34.55 kB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.1592, allocations: 7.984 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 9.751e-05/0.1593, allocations: 41.66 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.703e-05/0.1594, allocations: 51.41 kB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.378e-05/0.1594, allocations: 101.8 kB / 0.9842 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.1594, allocations: 29.64 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.951e-05/0.1594, allocations: 91.98 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.1595, allocations: 3.906 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.1595, allocations: 0 / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.23e-05/0.1595, allocations: 319 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.1595, allocations: 7.984 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.503e-05/0.1595, allocations: 13.72 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.432e-05/0.1596, allocations: 4 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1596, allocations: 0 / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.338e-05/0.1596, allocations: 49.62 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.1596, allocations: 4 kB / 0.9847 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1596, allocations: 8.062 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.1597, allocations: 3.953 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.35e-05/0.1597, allocations: 4 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1597, allocations: 0 / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.1597, allocations: 0 / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1597, allocations: 7.984 kB / 0.9848 GB, free: 21.85 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 3.631e-05/0.1598, allocations: 109.8 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.1598, allocations: 4 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.192e-05/0.1599, allocations: 123.5 kB / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.1599, allocations: 184.2 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/0.1599, allocations: 184.3 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.1599, allocations: 184.2 kB / 0.9855 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.16, allocations: 405.2 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.1601, allocations: 108.9 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.1601, allocations: 105 kB / 0.9861 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.036e-05/0.1601, allocations: 176.3 kB / 0.9863 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.1601, allocations: 184.2 kB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.821e-05/0.1602, allocations: 180.3 kB / 0.9866 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.902e-05/0.1602, allocations: 184.2 kB / 0.9868 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.251e-05/0.1602, allocations: 315.6 kB / 0.9871 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.1603, allocations: 182.1 kB / 0.9873 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.1603, allocations: 180.3 kB / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.1604, allocations: 112.9 kB / 0.9876 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.1605, allocations: 184.3 kB / 0.9877 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.1605, allocations: 108.9 kB / 0.9878 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.411e-05/0.1605, allocations: 91.22 kB / 0.9879 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1605, allocations: 3.938 kB / 0.9879 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002067/0.1607, allocations: 15.94 kB / 0.9879 GB, free: 18.38 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.0001814/0.1609, allocations: 0.8283 MB / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.323e-05/0.161, allocations: 7.938 kB / 0.9888 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.161, allocations: 0 / 0.9888 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.161, allocations: 4 kB / 0.9888 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.1612, allocations: 0.5281 MB / 0.9893 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.1615, allocations: 217.5 kB / 0.9895 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.1615, allocations: 0.677 MB / 0.9901 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.1616, allocations: 4 kB / 0.9901 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.1616, allocations: 11.44 kB / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of SimCode: time 7.42e-07/0.1616, allocations: 0 / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.951/2.113, allocations: 1.209 MB / 0.9913 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/2.113, allocations: 216.8 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/3.488, allocations: 4 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)