Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.529/1.529, allocations: 288.4 MB / 303.6 MB, free: 8.172 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.0009782/0.0009782, allocations: 177.9 kB / 372.3 MB, free: 10.1 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.195/1.195, allocations: 205.4 MB / 0.631 GB, free: 9.824 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.0006874/0.0006875, allocations: 90.36 kB / 0.7444 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.00036, allocations: 14.56 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.003566/0.1702, allocations: 3.92 MB / 0.984 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001707/0.172, allocations: 2.463 MB / 0.9864 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.1721, allocations: 3.938 kB / 0.9864 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.1723, allocations: 35.75 kB / 0.9864 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.1725, allocations: 91.48 kB / 0.9865 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008583/0.1734, allocations: 408.2 kB / 0.9869 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.1736, allocations: 259.9 kB / 0.9872 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.1736, allocations: 17.5 kB / 0.9872 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007303/0.1744, allocations: 394.4 kB / 0.9876 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.761e-05/0.1745, allocations: 87.66 kB / 0.9876 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1745, allocations: 8 kB / 0.9877 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007445/0.1752, allocations: 467 kB / 0.9881 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.1753, allocations: 31.89 kB / 0.9881 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.1754, allocations: 101.4 kB / 0.9882 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.1757, allocations: 231.8 kB / 0.9884 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1757, allocations: 0 / 0.9884 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1757, allocations: 3.938 kB / 0.9884 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.1757, allocations: 0 / 0.9884 GB, free: 18.75 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000491/0.1762, allocations: 459.4 kB / 0.9889 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1762, allocations: 12.03 kB / 0.9889 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.1763, allocations: 54.73 kB / 0.9889 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.1764, allocations: 20.75 kB / 0.989 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1765, allocations: 212.1 kB / 0.9892 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1766, allocations: 12.7 kB / 0.9892 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.1766, allocations: 12.38 kB / 0.9892 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.1769, allocations: 252.9 kB / 0.9894 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1769, allocations: 0 / 0.9894 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1769, allocations: 11.94 kB / 0.9894 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.1769, allocations: 4 kB / 0.9895 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.1773, allocations: 427.5 kB / 0.9899 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007149/0.178, allocations: 1.008 MB / 0.9908 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1782, allocations: 156.8 kB / 0.991 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.1783, allocations: 68.8 kB / 0.9911 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007674/0.1791, allocations: 1.825 MB / 0.9928 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.1791, allocations: 38.56 kB / 0.9929 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.1791, allocations: 0 / 0.9929 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002461/0.1794, allocations: 149.3 kB / 0.993 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.1794, allocations: 59.41 kB / 0.9931 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.1795, allocations: 169.8 kB / 0.9932 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1795, allocations: 25.7 kB / 0.9933 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.1796, allocations: 143.8 kB / 0.9934 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.1796, allocations: 51.3 kB / 0.9934 GB, free: 13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.1796, allocations: 4 kB / 0.9935 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.1796, allocations: 322.8 kB / 0.9938 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.1797, allocations: 35.97 kB / 0.9938 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.1798, allocations: 146.2 kB / 0.9939 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1799, allocations: 196.4 kB / 0.9941 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1799, allocations: 0 / 0.9941 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002352/0.1802, allocations: 217.1 kB / 0.9943 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1802, allocations: 8 kB / 0.9943 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1802, allocations: 8 kB / 0.9943 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1802, allocations: 7.938 kB / 0.9944 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1804, allocations: 47.92 kB / 0.9944 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1804, allocations: 8.453 kB / 0.9944 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.1805, allocations: 35.69 kB / 0.9944 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1805, allocations: 16 kB / 0.9945 GB, free: 11.86 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.943e-05/0.1806, allocations: 129.7 kB / 0.9946 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.1806, allocations: 15.81 kB / 0.9946 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.1809, allocations: 154.9 kB / 0.9947 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.1809, allocations: 11.92 kB / 0.9948 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1809, allocations: 0 / 0.9948 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1809, allocations: 4 kB / 0.9948 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.1811, allocations: 213.5 kB / 0.995 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1811, allocations: 0 / 0.995 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/0.1812, allocations: 27.98 kB / 0.995 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1812, allocations: 0 / 0.995 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.1812, allocations: 0 / 0.995 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1812, allocations: 3.938 kB / 0.995 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1812, allocations: 4 kB / 0.995 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.1814, allocations: 228.7 kB / 0.9952 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.1814, allocations: 104.9 kB / 0.9953 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.1815, allocations: 0 / 0.9953 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1816, allocations: 15.92 kB / 0.9953 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.1817, allocations: 8 kB / 0.9953 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.1817, allocations: 15.97 kB / 0.9953 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.782e-05/0.1817, allocations: 124.9 kB / 0.9955 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1817, allocations: 0 / 0.9955 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000333/0.1821, allocations: 79.92 kB / 0.9955 GB, free: 10.64 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004536/0.1825, allocations: 0.8202 MB / 0.9963 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.1827, allocations: 124.2 kB / 0.9965 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1827, allocations: 0 / 0.9965 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/0.1828, allocations: 39.92 kB / 0.9965 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1832, allocations: 56.27 kB / 0.9966 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1842, allocations: 1.009 MB / 0.9975 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.1844, allocations: 0.7131 MB / 0.9982 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.1845, allocations: 41.75 kB / 0.9983 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.1846, allocations: 51.42 kB / 0.9983 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.1846, allocations: 0 / 0.9983 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6444/0.829, allocations: 4.761 MB / 1.003 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.8292, allocations: 196.8 kB / 1.003 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.185, allocations: 0 / 1.003 GB, free: 2.832 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)