Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.0009603, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 192.7 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.201/1.201, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.478/1.478, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 66.94 kB / 0.6709 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1626, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004212/0.1668, allocations: 3.788 MB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.167, allocations: 155.5 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.167e-05/0.167, allocations: 0 / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.485e-05/0.1671, allocations: 7.922 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.565e-05/0.1671, allocations: 11.98 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1674, allocations: 67.77 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.832e-05/0.1674, allocations: 59.77 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.034e-05/0.1675, allocations: 3.984 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.643e-05/0.1675, allocations: 8 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.1676, allocations: 15.98 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.966e-06/0.1676, allocations: 0 / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.168, allocations: 203.4 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.1681, allocations: 3.938 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.1681, allocations: 8 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1682, allocations: 48.11 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1682, allocations: 4 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.62e-07/0.1682, allocations: 4 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.1682, allocations: 3.938 kB / 0.787 GB, free: 9.527 MB / 0.6075 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.0003059/0.1685, allocations: 327.6 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.1686, allocations: 8.031 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.1686, allocations: 38.75 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.1686, allocations: 8.875 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.276e-05/0.1687, allocations: 164.3 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.1688, allocations: 26.27 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.1688, allocations: 12.11 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.1689, allocations: 45.67 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.1689, allocations: 0 / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1689, allocations: 3.984 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.169, allocations: 4 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.628e-05/0.169, allocations: 15.98 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.1693, allocations: 341.9 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 2.675e-05/0.1694, allocations: 14.58 kB / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.14e-05/0.1694, allocations: 4.859 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.014e-05/0.1695, allocations: 89.17 kB / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1695, allocations: 34.56 kB / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1695, allocations: 0 / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001106/0.1696, allocations: 41.62 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.1697, allocations: 51.41 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.1697, allocations: 101.8 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1697, allocations: 25.7 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.1698, allocations: 88.05 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-06/0.1698, allocations: 0 / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.1698, allocations: 21.84 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.1699, allocations: 314.8 kB / 0.7888 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.1699, allocations: 11.92 kB / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.926e-05/0.17, allocations: 17.72 kB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.17, allocations: 17.66 kB / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.17, allocations: 0 / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.552e-05/0.1701, allocations: 57.59 kB / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.1701, allocations: 4 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1701, allocations: 0 / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.1701, allocations: 0 / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.837e-05/0.1701, allocations: 15.92 kB / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1702, allocations: 0 / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.1702, allocations: 0 / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1702, allocations: 4 kB / 0.7889 GB, free: 7.371 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.1703, allocations: 117.8 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.1703, allocations: 0 / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.1704, allocations: 117 kB / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.101e-05/0.1704, allocations: 188.1 kB / 0.7893 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.217e-05/0.1705, allocations: 180.3 kB / 0.7894 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.193e-05/0.1705, allocations: 184.2 kB / 0.7896 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.1707, allocations: 413.2 kB / 0.79 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/0.1708, allocations: 101 kB / 0.7901 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.1708, allocations: 104.9 kB / 0.7902 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-05/0.1709, allocations: 180.2 kB / 0.7904 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/0.1709, allocations: 184.2 kB / 0.7906 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.741e-05/0.171, allocations: 180.3 kB / 0.7907 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.267e-05/0.171, allocations: 180.3 kB / 0.7909 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.1711, allocations: 311.7 kB / 0.7912 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.1712, allocations: 186 kB / 0.7914 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.1712, allocations: 176.3 kB / 0.7916 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.1714, allocations: 117 kB / 0.7917 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.1714, allocations: 180.2 kB / 0.7918 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.1715, allocations: 101 kB / 0.7919 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.761e-05/0.1715, allocations: 87.27 kB / 0.792 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1715, allocations: 0 / 0.792 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002114/0.1717, allocations: 19.88 kB / 0.792 GB, free: 3.91 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003725/0.1721, allocations: 0.8398 MB / 0.7929 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.937e-05/0.1722, allocations: 8 kB / 0.7929 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1722, allocations: 0 / 0.7929 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1722, allocations: 4.453 kB / 0.7929 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.1725, allocations: 0.534 MB / 0.7934 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007846/0.1733, allocations: 1.315 MB / 0.7947 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.1735, allocations: 0.677 MB / 0.7953 GB, free: 400 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.526e-05/0.1736, allocations: 11.28 kB / 0.7953 GB, free: 392 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.1736, allocations: 7.438 kB / 0.7953 GB, free: 384 kB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.1736, allocations: 0 / 0.7953 GB, free: 384 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.78/3.954, allocations: 1.345 MB / 0.7967 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/3.954, allocations: 225.1 kB / 0.7969 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.692/6.646, allocations: 3.094 kB / 0.7969 GB, free: 14.93 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)