Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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.000903/0.0009031, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.001014/0.001014, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.00174, allocations: 266.8 kB / 291.2 MB, free: 2.016 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8779/0.8779, allocations: 144.6 MB / 487 MB, free: 7.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004146, allocations: 14.88 kB / 0.5684 GB, free: 38.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 83.08 MB / 0.6495 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005227/0.1784, allocations: 3.69 MB / 0.6531 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.1811, allocations: 2.168 MB / 0.6552 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.113e-05/0.1812, allocations: 0.7188 kB / 0.6552 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.1814, allocations: 40.67 kB / 0.6553 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1817, allocations: 73.92 kB / 0.6553 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.1829, allocations: 422.3 kB / 0.6557 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.1832, allocations: 157.4 kB / 0.6559 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.1832, allocations: 11.16 kB / 0.6559 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.1844, allocations: 396.4 kB / 0.6563 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1845, allocations: 71.75 kB / 0.6564 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.1846, allocations: 7.938 kB / 0.6564 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.1857, allocations: 435.4 kB / 0.6568 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.1857, allocations: 35.89 kB / 0.6568 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.1858, allocations: 49.64 kB / 0.6569 GB, free: 12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.1862, allocations: 223.7 kB / 0.6571 GB, free: 11.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1862, allocations: 0 / 0.6571 GB, free: 11.78 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1862, allocations: 0 / 0.6571 GB, free: 11.78 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1862, allocations: 0 / 0.6571 GB, free: 11.78 MB / 462.1 MB 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.0007564/0.187, allocations: 467.1 kB / 0.6575 GB, free: 11.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.187, allocations: 12.03 kB / 0.6575 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.026e-05/0.1871, allocations: 54.48 kB / 0.6576 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.1872, allocations: 19.81 kB / 0.6576 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1875, allocations: 210.8 kB / 0.6578 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1875, allocations: 20.27 kB / 0.6578 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1875, allocations: 16 kB / 0.6578 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.1879, allocations: 241 kB / 0.6581 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1879, allocations: 0 / 0.6581 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1879, allocations: 19.91 kB / 0.6581 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.188, allocations: 8 kB / 0.6581 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.1885, allocations: 423.5 kB / 0.6585 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.19, allocations: 1.027 MB / 0.6595 GB, free: 9.078 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.1904, allocations: 170.2 kB / 0.6597 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/0.192, allocations: 1.841 MB / 0.6615 GB, free: 6.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1921, allocations: 38.56 kB / 0.6615 GB, free: 6.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.1921, allocations: 0 / 0.6615 GB, free: 6.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003521/0.1924, allocations: 139.5 kB / 0.6616 GB, free: 6.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1925, allocations: 51.41 kB / 0.6617 GB, free: 6.457 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1927, allocations: 180.8 kB / 0.6618 GB, free: 6.262 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1927, allocations: 29.7 kB / 0.6619 GB, free: 6.227 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.1928, allocations: 139.8 kB / 0.662 GB, free: 6.086 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.1928, allocations: 59.28 kB / 0.6621 GB, free: 6.027 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/0.1929, allocations: 4 kB / 0.6621 GB, free: 6.023 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.193, allocations: 322.8 kB / 0.6624 GB, free: 5.699 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1931, allocations: 31.98 kB / 0.6624 GB, free: 5.668 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.1933, allocations: 137.7 kB / 0.6625 GB, free: 5.484 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1934, allocations: 55.94 kB / 0.6626 GB, free: 5.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1935, allocations: 0 / 0.6626 GB, free: 5.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003297/0.1938, allocations: 219 kB / 0.6628 GB, free: 5.211 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.1938, allocations: 8 kB / 0.6628 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.1939, allocations: 7.984 kB / 0.6628 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1939, allocations: 4 kB / 0.6628 GB, free: 5.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.1941, allocations: 67.8 kB / 0.6629 GB, free: 5.125 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1941, allocations: 4 kB / 0.6629 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1942, allocations: 23.75 kB / 0.6629 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.1943, allocations: 20.3 kB / 0.6629 GB, free: 5.078 MB / 462.1 MB 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 0.0001168/0.1944, allocations: 133.7 kB / 0.6631 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.1944, allocations: 19.75 kB / 0.6631 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.1948, allocations: 154.9 kB / 0.6632 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.1948, allocations: 0 / 0.6632 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1948, allocations: 3.953 kB / 0.6632 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1948, allocations: 3.984 kB / 0.6632 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.1951, allocations: 221.5 kB / 0.6634 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1951, allocations: 7.938 kB / 0.6635 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1953, allocations: 27.98 kB / 0.6635 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/0.1953, allocations: 7.984 kB / 0.6635 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1953, allocations: 0 / 0.6635 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1953, allocations: 0 / 0.6635 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1953, allocations: 0 / 0.6635 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.1956, allocations: 224.9 kB / 0.6637 GB, free: 4.215 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.705e-05/0.1957, allocations: 120.8 kB / 0.6638 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.1958, allocations: 4 kB / 0.6638 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.1961, allocations: 19.98 kB / 0.6638 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.1961, allocations: 7.984 kB / 0.6638 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.1961, allocations: 11.98 kB / 0.6639 GB, free: 4.035 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.691e-05/0.1962, allocations: 118.1 kB / 0.664 GB, free: 3.922 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1963, allocations: 4 kB / 0.664 GB, free: 3.918 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000437/0.1967, allocations: 83.92 kB / 0.6641 GB, free: 3.836 MB / 462.1 MB 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.0007641/0.1975, allocations: 0.8191 MB / 0.6649 GB, free: 2.988 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.1977, allocations: 120.4 kB / 0.665 GB, free: 2.871 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1977, allocations: 0 / 0.665 GB, free: 2.871 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1979, allocations: 46.08 kB / 0.665 GB, free: 2.828 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1983, allocations: 35.97 kB / 0.665 GB, free: 2.793 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.2014, allocations: 3.279 MB / 0.6682 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.2017, allocations: 0.725 MB / 0.669 GB, free: 14.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000176/0.2019, allocations: 45.67 kB / 0.669 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.881e-05/0.202, allocations: 55.41 kB / 0.6691 GB, free: 14.55 MB / 478.1 MB Notification: Performance of SimCode: time 3.3e-07/0.202, allocations: 0 / 0.6691 GB, free: 14.55 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.2244, allocations: 4.686 MB / 0.6736 GB, free: 10.06 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.2246, allocations: 208 kB / 0.6738 GB, free: 9.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.002, allocations: 3.938 kB / 0.6738 GB, free: 9.816 MB / 478.1 MB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) Environment - environmentSimulation: