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.001092/0.001092, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.006306/0.006306, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.254/1.254, allocations: 205.4 MB / 222.5 MB, free: 5.797 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.556/1.556, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004701/0.0004701, allocations: 13.22 kB / 0.6744 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1692, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003526/0.1728, allocations: 3.424 MB / 0.7913 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001565/0.1729, allocations: 147.6 kB / 0.7915 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.248e-05/0.173, allocations: 0 / 0.7915 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.486e-05/0.173, allocations: 4 kB / 0.7915 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.1731, allocations: 11.91 kB / 0.7915 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1733, allocations: 59.84 kB / 0.7915 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.563e-05/0.1734, allocations: 63.81 kB / 0.7916 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.1735, allocations: 15.92 kB / 0.7916 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.889e-05/0.1735, allocations: 8 kB / 0.7916 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.1736, allocations: 15.91 kB / 0.7916 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1736, allocations: 4 kB / 0.7916 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004299/0.174, allocations: 187.5 kB / 0.7918 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.1741, allocations: 7.984 kB / 0.7918 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.1741, allocations: 37.62 kB / 0.7919 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.1742, allocations: 52.06 kB / 0.7919 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1742, allocations: 4 kB / 0.7919 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1742, allocations: 0 / 0.7919 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.575e-06/0.1742, allocations: 0 / 0.7919 GB, free: 7.445 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.0002691/0.1745, allocations: 323.6 kB / 0.7922 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1745, allocations: 12.03 kB / 0.7922 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.1746, allocations: 34.73 kB / 0.7923 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.269e-05/0.1746, allocations: 0.9375 kB / 0.7923 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.1747, allocations: 172.3 kB / 0.7924 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/0.1747, allocations: 30.27 kB / 0.7925 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.1748, allocations: 4.125 kB / 0.7925 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1749, allocations: 45.69 kB / 0.7925 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-06/0.1749, allocations: 0 / 0.7925 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1749, allocations: 0 / 0.7925 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.1749, allocations: 3.938 kB / 0.7925 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.175, allocations: 15.98 kB / 0.7925 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.1753, allocations: 337.9 kB / 0.7929 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.282e-05/0.1754, allocations: 26.58 kB / 0.7929 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.1754, allocations: 4.859 kB / 0.7929 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.088e-05/0.1755, allocations: 89.09 kB / 0.793 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1755, allocations: 34.56 kB / 0.793 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 2.365e-06/0.1755, allocations: 7.922 kB / 0.793 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001119/0.1756, allocations: 29.7 kB / 0.793 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.1757, allocations: 55.53 kB / 0.7931 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.1757, allocations: 105.8 kB / 0.7932 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1757, allocations: 25.7 kB / 0.7932 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.1758, allocations: 88.05 kB / 0.7933 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/0.1758, allocations: 4 kB / 0.7933 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.1758, allocations: 9.719 kB / 0.7933 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.1759, allocations: 318.8 kB / 0.7936 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.1759, allocations: 4 kB / 0.7936 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.1759, allocations: 21.72 kB / 0.7936 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.176, allocations: 25.58 kB / 0.7937 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.176, allocations: 0 / 0.7937 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.681e-05/0.1761, allocations: 49.64 kB / 0.7937 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.1761, allocations: 4 kB / 0.7937 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1761, allocations: 0 / 0.7937 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.1761, allocations: 8.047 kB / 0.7937 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.575e-05/0.1761, allocations: 4 kB / 0.7937 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1762, allocations: 4 kB / 0.7937 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.1762, allocations: 3.906 kB / 0.7937 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1762, allocations: 0 / 0.7937 GB, free: 5.297 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 5.683e-05/0.1763, allocations: 117.8 kB / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.1763, allocations: 0 / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.887e-05/0.1764, allocations: 120.9 kB / 0.794 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-05/0.1764, allocations: 184.3 kB / 0.7941 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-05/0.1765, allocations: 180.3 kB / 0.7943 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.347e-05/0.1765, allocations: 180.2 kB / 0.7945 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.1767, allocations: 409.2 kB / 0.7949 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/0.1767, allocations: 104.9 kB / 0.795 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.1768, allocations: 109 kB / 0.7951 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.053e-05/0.1768, allocations: 176.3 kB / 0.7952 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.1769, allocations: 184.2 kB / 0.7954 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-05/0.1769, allocations: 176.3 kB / 0.7956 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.383e-05/0.177, allocations: 180.2 kB / 0.7958 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.707e-05/0.1771, allocations: 319.7 kB / 0.7961 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.1771, allocations: 182.1 kB / 0.7962 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.1772, allocations: 184.2 kB / 0.7964 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1773, allocations: 108.9 kB / 0.7965 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.1774, allocations: 180.3 kB / 0.7967 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.1774, allocations: 104.9 kB / 0.7968 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.045e-05/0.1774, allocations: 99.2 kB / 0.7969 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1775, allocations: 0 / 0.7969 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002198/0.1777, allocations: 19.88 kB / 0.7969 GB, free: 1.824 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.0003641/0.178, allocations: 0.8282 MB / 0.7977 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.157e-05/0.1781, allocations: 15.92 kB / 0.7977 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1781, allocations: 3.938 kB / 0.7977 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1781, allocations: 0 / 0.7977 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1785, allocations: 0.5265 MB / 0.7982 GB, free: 428 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/0.1792, allocations: 1.315 MB / 0.7995 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.1794, allocations: 0.677 MB / 0.8002 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.1794, allocations: 11 kB / 0.8002 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.1795, allocations: 7.438 kB / 0.8002 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.1795, allocations: 0 / 0.8002 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.608/1.788, allocations: 1.29 MB / 0.8015 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003652/1.788, allocations: 219.8 kB / 0.8017 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/3.63, allocations: 1 kB / 0.8017 GB, free: 12.94 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)