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.001262/0.001262, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.285/1.285, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.711/1.711, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001465/0.001465, allocations: 71 kB / 0.6716 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1683, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004907/0.1732, allocations: 3.721 MB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.1734, allocations: 155.5 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.1735, allocations: 4 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.855e-05/0.1735, allocations: 0 / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.1736, allocations: 7.922 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.1739, allocations: 71.7 kB / 0.7873 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.114e-05/0.174, allocations: 31.91 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.174, allocations: 4 kB / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.468e-05/0.1741, allocations: 23.86 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.1741, allocations: 11.98 kB / 0.7874 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1742, allocations: 0 / 0.7874 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.1747, allocations: 191.4 kB / 0.7876 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.1747, allocations: 4 kB / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.1747, allocations: 15.92 kB / 0.7876 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.1749, allocations: 44.12 kB / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1749, allocations: 0 / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1749, allocations: 0 / 0.7876 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1749, allocations: 0 / 0.7876 GB, free: 9.098 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.0003343/0.1752, allocations: 335.5 kB / 0.788 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1753, allocations: 12.03 kB / 0.788 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.1753, allocations: 38.73 kB / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/0.1753, allocations: 0.9375 kB / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.1754, allocations: 164.3 kB / 0.7882 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-05/0.1755, allocations: 30.27 kB / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1755, allocations: 8.109 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.1756, allocations: 45.62 kB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1757, allocations: 7.984 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1757, allocations: 4 kB / 0.7882 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.1757, allocations: 0 / 0.7882 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.1757, allocations: 11.98 kB / 0.7883 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.1761, allocations: 330 kB / 0.7886 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/0.1762, allocations: 22.52 kB / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.1762, allocations: 8.859 kB / 0.7886 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-05/0.1763, allocations: 93.14 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1763, allocations: 30.56 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1763, allocations: 0 / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001258/0.1764, allocations: 37.61 kB / 0.7888 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.1765, allocations: 55.39 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.722e-05/0.1765, allocations: 101.9 kB / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1766, allocations: 33.77 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.1766, allocations: 84.05 kB / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-06/0.1766, allocations: 3.984 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.1766, allocations: 17.72 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.1767, allocations: 318.8 kB / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.1767, allocations: 0 / 0.7893 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.1768, allocations: 21.7 kB / 0.7894 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.498e-05/0.1768, allocations: 25.72 kB / 0.7894 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1768, allocations: 3.938 kB / 0.7894 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.174e-05/0.1769, allocations: 53.62 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.1769, allocations: 4 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1769, allocations: 4 kB / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.1769, allocations: 0 / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.872e-05/0.177, allocations: 4 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.177, allocations: 3.938 kB / 0.7895 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.177, allocations: 7.969 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.177, allocations: 4 kB / 0.7895 GB, free: 6.926 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.034e-05/0.1771, allocations: 117.8 kB / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.1771, allocations: 4 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.997e-05/0.1772, allocations: 116.9 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-05/0.1773, allocations: 184.2 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.873e-05/0.1774, allocations: 184.2 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.38e-05/0.1774, allocations: 176.3 kB / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.1776, allocations: 417 kB / 0.7906 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.857e-05/0.1776, allocations: 101 kB / 0.7907 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.1777, allocations: 105 kB / 0.7908 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.816e-05/0.1777, allocations: 184.2 kB / 0.791 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/0.1778, allocations: 176.3 kB / 0.7912 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.655e-05/0.1778, allocations: 184.2 kB / 0.7913 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.477e-05/0.1779, allocations: 180.3 kB / 0.7915 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.178, allocations: 311.7 kB / 0.7918 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.178, allocations: 182.1 kB / 0.792 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.1781, allocations: 180.2 kB / 0.7921 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1782, allocations: 113 kB / 0.7923 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.1783, allocations: 184.2 kB / 0.7924 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.1783, allocations: 105 kB / 0.7925 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.942e-05/0.1784, allocations: 83.28 kB / 0.7926 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1784, allocations: 0 / 0.7926 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002325/0.1786, allocations: 19.94 kB / 0.7926 GB, free: 3.465 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.0004077/0.179, allocations: 0.8321 MB / 0.7934 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.728e-05/0.1791, allocations: 8 kB / 0.7934 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1791, allocations: 0 / 0.7934 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.1791, allocations: 3.938 kB / 0.7935 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1795, allocations: 462.2 kB / 0.7939 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/0.1803, allocations: 1.34 MB / 0.7952 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.1805, allocations: 0.6729 MB / 0.7959 GB, free: 16 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.907e-05/0.1806, allocations: 7.984 kB / 0.7959 GB, free: 8 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.1806, allocations: 7.438 kB / 0.7959 GB, free: 0 / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.1806, allocations: 0 / 0.7959 GB, free: 0 / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.961/1.142, allocations: 1.456 MB / 0.7973 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/15.3, allocations: 14.55 kB / 0.7973 GB, free: 14.66 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)