Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.0009016/0.0009015, 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.0009227/0.0009227, allocations: 189.4 kB / 16.14 MB, free: 6.66 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.145/1.145, allocations: 205.1 MB / 222 MB, free: 4.746 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.495/1.495, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.00152/0.00152, allocations: 68.05 kB / 0.6709 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1693, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004803/0.1741, allocations: 4.471 MB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1764, allocations: 2.695 MB / 0.7898 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.1764, allocations: 4 kB / 0.7898 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.1766, allocations: 31.75 kB / 0.7898 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1768, allocations: 99.41 kB / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007314/0.1776, allocations: 425 kB / 0.7903 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.1778, allocations: 307.8 kB / 0.7906 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.491e-05/0.1778, allocations: 13.56 kB / 0.7906 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006972/0.1785, allocations: 395.1 kB / 0.791 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.1786, allocations: 87.67 kB / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1787, allocations: 7.938 kB / 0.7911 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007244/0.1794, allocations: 494.8 kB / 0.7916 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.1795, allocations: 39.84 kB / 0.7916 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.976e-05/0.1795, allocations: 79.64 kB / 0.7917 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.18, allocations: 335.2 kB / 0.792 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.18, allocations: 0 / 0.792 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.31e-07/0.18, allocations: 0 / 0.792 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.18, allocations: 0 / 0.792 GB, free: 4.473 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005631/0.1806, allocations: 0.4992 MB / 0.7925 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.1806, allocations: 8.031 kB / 0.7925 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.1806, allocations: 54.73 kB / 0.7925 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.1808, allocations: 20.75 kB / 0.7926 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1809, allocations: 208.1 kB / 0.7928 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.181, allocations: 16.7 kB / 0.7928 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.181, allocations: 12.38 kB / 0.7928 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.1813, allocations: 248.9 kB / 0.793 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1813, allocations: 0 / 0.793 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.1814, allocations: 12 kB / 0.793 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.1814, allocations: 4 kB / 0.793 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.1818, allocations: 431.5 kB / 0.7934 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.1826, allocations: 0.9998 MB / 0.7944 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.1829, allocations: 165.3 kB / 0.7946 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.183, allocations: 64.88 kB / 0.7946 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.1841, allocations: 1.829 MB / 0.7964 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.1841, allocations: 34.56 kB / 0.7965 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.1841, allocations: 0 / 0.7965 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0002783/0.1844, allocations: 156.4 kB / 0.7966 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.1845, allocations: 51.41 kB / 0.7967 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1846, allocations: 175.3 kB / 0.7968 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1846, allocations: 29.7 kB / 0.7969 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.1847, allocations: 139.7 kB / 0.797 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.1847, allocations: 51.34 kB / 0.797 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.1848, allocations: 49.61 kB / 0.7971 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.3e-05/0.1849, allocations: 326.8 kB / 0.7974 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.1849, allocations: 39.98 kB / 0.7974 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1851, allocations: 137.7 kB / 0.7976 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.1853, allocations: 201.4 kB / 0.7978 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1853, allocations: 4 kB / 0.7978 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002796/0.1856, allocations: 211.9 kB / 0.798 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1856, allocations: 8 kB / 0.798 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1856, allocations: 4.469 kB / 0.798 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1856, allocations: 15.92 kB / 0.798 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1858, allocations: 55.86 kB / 0.798 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1858, allocations: 7.938 kB / 0.7981 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1859, allocations: 35.69 kB / 0.7981 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.1859, allocations: 11.98 kB / 0.7981 GB, free: 13.47 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 8.609e-05/0.186, allocations: 137.7 kB / 0.7982 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.1861, allocations: 15.81 kB / 0.7982 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.1863, allocations: 151 kB / 0.7984 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.1864, allocations: 11.88 kB / 0.7984 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1864, allocations: 3.938 kB / 0.7984 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1864, allocations: 3.984 kB / 0.7984 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.1866, allocations: 213.5 kB / 0.7986 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1866, allocations: 0 / 0.7986 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.094e-05/0.1867, allocations: 23.98 kB / 0.7986 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1867, allocations: 0 / 0.7986 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1867, allocations: 4 kB / 0.7986 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1867, allocations: 7.938 kB / 0.7986 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1867, allocations: 0 / 0.7986 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.1869, allocations: 219.4 kB / 0.7989 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.187, allocations: 108.9 kB / 0.799 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.187, allocations: 4 kB / 0.799 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.1872, allocations: 15.94 kB / 0.799 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.1872, allocations: 7.984 kB / 0.799 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1873, allocations: 15.92 kB / 0.799 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.334e-05/0.1873, allocations: 120 kB / 0.7991 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1873, allocations: 0 / 0.7991 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000327/0.1877, allocations: 75.91 kB / 0.7992 GB, free: 12.26 MB / 0.6231 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000573/0.1882, allocations: 0.8276 MB / 0.8 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1884, allocations: 115.8 kB / 0.8001 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1884, allocations: 0 / 0.8001 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.101e-05/0.1885, allocations: 47.91 kB / 0.8001 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.1889, allocations: 52.84 kB / 0.8002 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.1907, allocations: 2.076 MB / 0.8022 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.1909, allocations: 0.7128 MB / 0.8029 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.1911, allocations: 53.67 kB / 0.803 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.1912, allocations: 47.42 kB / 0.803 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.1912, allocations: 0 / 0.803 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.491/2.682, allocations: 4.869 MB / 0.8078 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/2.682, allocations: 203 kB / 0.808 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.502/6.185, allocations: 0 / 0.808 GB, free: 3.125 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)