Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",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.001146/0.001146, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001397/0.001397, 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.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002253/0.002253, allocations: 258.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.8279/0.8279, allocations: 144.6 MB / 487 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006526/0.0006528, allocations: 13.06 kB / 0.5684 GB, free: 38.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1697, allocations: 83.08 MB / 0.6495 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01196/0.1817, allocations: 11.16 MB / 0.6604 GB, free: 8.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.1838, allocations: 2.136 MB / 0.6625 GB, free: 6.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.1839, allocations: 4 kB / 0.6625 GB, free: 6.336 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.1841, allocations: 39.8 kB / 0.6626 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1843, allocations: 75.77 kB / 0.6626 GB, free: 6.223 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000812/0.1851, allocations: 442.1 kB / 0.663 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1853, allocations: 144.7 kB / 0.6632 GB, free: 5.652 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.1853, allocations: 17.48 kB / 0.6632 GB, free: 5.629 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00745/0.1928, allocations: 4.301 MB / 0.6674 GB, free: 1.332 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.1929, allocations: 71.69 kB / 0.6675 GB, free: 1.262 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.193, allocations: 12 kB / 0.6675 GB, free: 1.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.1952, allocations: 1.003 MB / 0.6685 GB, free: 256 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.1953, allocations: 31.89 kB / 0.6685 GB, free: 224 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.1953, allocations: 53.64 kB / 0.6685 GB, free: 164 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.1957, allocations: 227.7 kB / 0.6688 GB, free: 15.94 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1957, allocations: 0 / 0.6688 GB, free: 15.94 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1957, allocations: 4 kB / 0.6688 GB, free: 15.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1957, allocations: 0 / 0.6688 GB, free: 15.93 MB / 478.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.0006536/0.1964, allocations: 471.1 kB / 0.6692 GB, free: 15.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1964, allocations: 8.031 kB / 0.6692 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.048e-05/0.1965, allocations: 58.48 kB / 0.6693 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.1967, allocations: 31.75 kB / 0.6693 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1969, allocations: 210.9 kB / 0.6695 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1969, allocations: 12.33 kB / 0.6695 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1969, allocations: 16 kB / 0.6695 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.1973, allocations: 248 kB / 0.6698 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1973, allocations: 0 / 0.6698 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.1973, allocations: 11.94 kB / 0.6698 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.1973, allocations: 8 kB / 0.6698 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.1978, allocations: 435.9 kB / 0.6702 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.199, allocations: 1.011 MB / 0.6712 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.1992, allocations: 160.4 kB / 0.6713 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.2004, allocations: 1.848 MB / 0.6732 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.2005, allocations: 42.52 kB / 0.6732 GB, free: 10.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.2005, allocations: 4 kB / 0.6732 GB, free: 10.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003007/0.2008, allocations: 143.7 kB / 0.6733 GB, free: 10.67 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.2008, allocations: 55.41 kB / 0.6734 GB, free: 10.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.201, allocations: 168.8 kB / 0.6735 GB, free: 10.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.201, allocations: 25.7 kB / 0.6736 GB, free: 10.39 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.2011, allocations: 139.8 kB / 0.6737 GB, free: 10.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.2011, allocations: 55.2 kB / 0.6738 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-06/0.2011, allocations: 3.938 kB / 0.6738 GB, free: 10.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2013, allocations: 330.8 kB / 0.6741 GB, free: 9.863 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.363e-05/0.2013, allocations: 35.97 kB / 0.6741 GB, free: 9.828 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.2015, allocations: 129.7 kB / 0.6742 GB, free: 9.652 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.18e-05/0.2016, allocations: 63.86 kB / 0.6743 GB, free: 9.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2016, allocations: 4 kB / 0.6743 GB, free: 9.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002858/0.2019, allocations: 203.6 kB / 0.6745 GB, free: 9.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2019, allocations: 16.02 kB / 0.6745 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2019, allocations: 0 / 0.6745 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2019, allocations: 8 kB / 0.6745 GB, free: 9.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.2021, allocations: 59.91 kB / 0.6746 GB, free: 9.301 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.2021, allocations: 7.938 kB / 0.6746 GB, free: 9.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.2022, allocations: 35.67 kB / 0.6746 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.2023, allocations: 8 kB / 0.6746 GB, free: 9.25 MB / 478.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 9.741e-05/0.2024, allocations: 137.7 kB / 0.6748 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.2024, allocations: 19.81 kB / 0.6748 GB, free: 9.086 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.2027, allocations: 169.4 kB / 0.6749 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.2027, allocations: 7.938 kB / 0.6749 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2027, allocations: 0 / 0.6749 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2027, allocations: 0 / 0.6749 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.203, allocations: 209.6 kB / 0.6751 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.203, allocations: 0 / 0.6751 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.2031, allocations: 31.98 kB / 0.6752 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2031, allocations: 0 / 0.6752 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2031, allocations: 15.92 kB / 0.6752 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2031, allocations: 3.953 kB / 0.6752 GB, free: 8.609 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2031, allocations: 3.938 kB / 0.6752 GB, free: 8.605 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.2033, allocations: 225.4 kB / 0.6754 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.2034, allocations: 120.9 kB / 0.6755 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.2035, allocations: 4 kB / 0.6755 GB, free: 8.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2037, allocations: 27.98 kB / 0.6756 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.2037, allocations: 11.94 kB / 0.6756 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.2038, allocations: 12 kB / 0.6756 GB, free: 8.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.037e-05/0.2038, allocations: 118.5 kB / 0.6757 GB, free: 8.066 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2038, allocations: 0 / 0.6757 GB, free: 8.066 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.2042, allocations: 83.92 kB / 0.6758 GB, free: 7.984 MB / 478.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.0005688/0.2048, allocations: 0.8176 MB / 0.6766 GB, free: 7.141 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.205, allocations: 121.6 kB / 0.6767 GB, free: 7.023 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.205, allocations: 0 / 0.6767 GB, free: 7.023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.2051, allocations: 43.97 kB / 0.6767 GB, free: 6.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.2054, allocations: 58.28 kB / 0.6768 GB, free: 6.926 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.2073, allocations: 3.264 MB / 0.68 GB, free: 3.547 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.2075, allocations: 0.7172 MB / 0.6807 GB, free: 2.805 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000183/0.2077, allocations: 56.09 kB / 0.6807 GB, free: 2.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.2078, allocations: 47.42 kB / 0.6808 GB, free: 2.703 MB / 478.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2078, allocations: 0 / 0.6808 GB, free: 2.703 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.2222, allocations: 4.987 MB / 0.6856 GB, free: 13.93 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.2224, allocations: 198.7 kB / 0.6858 GB, free: 13.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/1.857, allocations: 0 / 0.6858 GB, free: 13.7 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: