Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9106/0.9106, allocations: 143.3 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 185 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.2 MB / 447.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 92.31 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001807/0.001807, allocations: 272.3 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004231, allocations: 11.69 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1748, allocations: 82.79 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.6575, allocations: 110.1 MB / 0.8812 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.6577, allocations: 75.95 kB / 0.8813 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005783/0.6635, allocations: 1.981 MB / 0.8833 GB, free: 108 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6636, allocations: 0 / 0.8833 GB, free: 108 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.6636, allocations: 6.812 kB / 0.8833 GB, free: 108 MB / 0.5417 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.0003127/0.6639, allocations: 366.1 kB / 0.8836 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.6639, allocations: 13.23 kB / 0.8836 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.664, allocations: 30.56 kB / 0.8837 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.6643, allocations: 29.38 kB / 0.8837 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/0.6644, allocations: 171.1 kB / 0.8838 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.6645, allocations: 2.938 kB / 0.8838 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.6645, allocations: 0 / 0.8838 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.6647, allocations: 69.08 kB / 0.8839 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.6647, allocations: 0 / 0.8839 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.6647, allocations: 2.969 kB / 0.8839 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6647, allocations: 5.438 kB / 0.8839 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.665, allocations: 61.7 kB / 0.884 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.6654, allocations: 275.6 kB / 0.8842 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.6656, allocations: 64.61 kB / 0.8843 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.6656, allocations: 2.188 kB / 0.8843 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.6656, allocations: 34.56 kB / 0.8843 GB, free: 107 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6656, allocations: 3.938 kB / 0.8843 GB, free: 107 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0004669/0.6661, allocations: 128.3 kB / 0.8845 GB, free: 107 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.6661, allocations: 51.41 kB / 0.8845 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.274e-05/0.6662, allocations: 92.89 kB / 0.8846 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.6662, allocations: 25.7 kB / 0.8846 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.736e-05/0.6662, allocations: 85.98 kB / 0.8847 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.6663, allocations: 6.219 kB / 0.8847 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.6663, allocations: 4 kB / 0.8847 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.6663, allocations: 320.9 kB / 0.885 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.6664, allocations: 34.09 kB / 0.8851 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.6666, allocations: 36.34 kB / 0.8851 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.6667, allocations: 27.7 kB / 0.8851 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6667, allocations: 6.094 kB / 0.8851 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002663/0.667, allocations: 101.8 kB / 0.8852 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.667, allocations: 6.875 kB / 0.8852 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.667, allocations: 0 / 0.8852 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.667, allocations: 0 / 0.8852 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.6672, allocations: 21.3 kB / 0.8852 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6672, allocations: 1.312 kB / 0.8853 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.235e-05/0.6673, allocations: 16.28 kB / 0.8853 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.6673, allocations: 0 / 0.8853 GB, free: 106.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 5.308e-05/0.6674, allocations: 119.6 kB / 0.8854 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.6674, allocations: 2.656 kB / 0.8854 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.6674, allocations: 7.125 kB / 0.8854 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6674, allocations: 0 / 0.8854 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6675, allocations: 0 / 0.8854 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.6675, allocations: 6.531 kB / 0.8854 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.6676, allocations: 167.2 kB / 0.8856 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6676, allocations: 0 / 0.8856 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.6677, allocations: 18.08 kB / 0.8856 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6677, allocations: 3.938 kB / 0.8856 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.6677, allocations: 10.47 kB / 0.8856 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6677, allocations: 0 / 0.8856 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6677, allocations: 0 / 0.8856 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.668, allocations: 196.7 kB / 0.8858 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.6681, allocations: 77.95 kB / 0.8858 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.6681, allocations: 0 / 0.8858 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.6682, allocations: 13.11 kB / 0.8859 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.6682, allocations: 0 / 0.8859 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.6683, allocations: 5.594 kB / 0.8859 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.956e-05/0.6683, allocations: 85.94 kB / 0.8859 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6683, allocations: 0 / 0.8859 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002277/0.6685, allocations: 17.98 kB / 0.886 GB, free: 105.7 MB / 0.5417 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0005056/0.669, allocations: 0.7459 MB / 0.8867 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002739/0.6693, allocations: 68.97 kB / 0.8868 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6693, allocations: 0 / 0.8868 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.6695, allocations: 41.67 kB / 0.8868 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.6696, allocations: 6.875 kB / 0.8868 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.6701, allocations: 185.1 kB / 0.887 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.057e-05/0.6702, allocations: 0.6787 MB / 0.8876 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.168e-05/0.6703, allocations: 11.28 kB / 0.8877 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.6704, allocations: 13.38 kB / 0.8877 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of SimCode: time 2.1e-07/0.6704, allocations: 2.594 kB / 0.8877 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01255/0.6829, allocations: 1.399 MB / 0.889 GB, free: 104 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.6831, allocations: 203.5 kB / 0.8892 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.184, allocations: 0 / 0.8892 GB, free: 103.8 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)