Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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 1.005/1.005, allocations: 143.3 MB / 158.3 MB, free: 5.77 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.001157/0.001157, allocations: 181 kB / 191.5 MB, free: 5.75 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.561/1.561, allocations: 223.2 MB / 447.7 MB, free: 6.535 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.0009178/0.0009178, allocations: 107.5 kB / 0.5187 GB, free: 2.891 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.00186, allocations: 266.8 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005106/0.0005107, allocations: 15.98 kB / 0.693 GB, free: 2.191 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.384, allocations: 82.77 MB / 0.7738 GB, free: 26.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.542, allocations: 109.8 MB / 0.881 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003608/0.5425, allocations: 83.88 kB / 0.8811 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007839/0.5503, allocations: 2.505 MB / 0.8836 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5504, allocations: 0 / 0.8836 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.5504, allocations: 0 / 0.8836 GB, free: 9.621 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003914/0.5508, allocations: 367.2 kB / 0.8839 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.5508, allocations: 8.828 kB / 0.8839 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.5509, allocations: 34.56 kB / 0.8839 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.5511, allocations: 15.97 kB / 0.884 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.5512, allocations: 167 kB / 0.8841 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.5513, allocations: 4 kB / 0.8841 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.5513, allocations: 3.984 kB / 0.8841 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.5514, allocations: 53.67 kB / 0.8842 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5514, allocations: 0 / 0.8842 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5515, allocations: 0 / 0.8842 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5515, allocations: 0 / 0.8842 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.778e-05/0.5515, allocations: 23.92 kB / 0.8842 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.5517, allocations: 169.6 kB / 0.8844 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.5519, allocations: 66.61 kB / 0.8844 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.5519, allocations: 4.031 kB / 0.8844 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.5519, allocations: 34.56 kB / 0.8845 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.552, allocations: 0 / 0.8845 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0001891/0.5521, allocations: 73.75 kB / 0.8845 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.5522, allocations: 55.41 kB / 0.8846 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.429e-05/0.5523, allocations: 89 kB / 0.8847 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.5523, allocations: 25.7 kB / 0.8847 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.5523, allocations: 80.14 kB / 0.8848 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.5524, allocations: 27.64 kB / 0.8848 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.5524, allocations: 3.938 kB / 0.8848 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5525, allocations: 314.8 kB / 0.8851 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.5526, allocations: 11.98 kB / 0.8851 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.5526, allocations: 8 kB / 0.8851 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.494e-05/0.5526, allocations: 16.12 kB / 0.8851 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5526, allocations: 4 kB / 0.8851 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001008/0.5528, allocations: 69.58 kB / 0.8852 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5528, allocations: 8 kB / 0.8852 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5528, allocations: 448 / 0.8852 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5528, allocations: 7.922 kB / 0.8852 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.553, allocations: 12 kB / 0.8852 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.553, allocations: 0 / 0.8852 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.798e-05/0.553, allocations: 4 kB / 0.8852 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.553, allocations: 7.984 kB / 0.8853 GB, free: 7.668 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 (6): * Single equations (assignments): 6 * 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 9.426e-05/0.5531, allocations: 116.6 kB / 0.8854 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.5531, allocations: 3.953 kB / 0.8854 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.5534, allocations: 89.48 kB / 0.8855 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5534, allocations: 0 / 0.8855 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5534, allocations: 0 / 0.8855 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5534, allocations: 3.984 kB / 0.8855 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.5535, allocations: 173.6 kB / 0.8856 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5535, allocations: 0 / 0.8856 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.281e-05/0.5536, allocations: 12 kB / 0.8856 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5536, allocations: 4 kB / 0.8856 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.5537, allocations: 7.938 kB / 0.8856 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5537, allocations: 0 / 0.8856 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.5537, allocations: 0 / 0.8856 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.5538, allocations: 93.06 kB / 0.8857 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.5539, allocations: 96.98 kB / 0.8858 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.5539, allocations: 0 / 0.8858 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.554, allocations: 7.953 kB / 0.8858 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.554, allocations: 0 / 0.8858 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.554, allocations: 4 kB / 0.8858 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.5541, allocations: 83.27 kB / 0.8859 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5541, allocations: 0 / 0.8859 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001762/0.5543, allocations: 8 kB / 0.8859 GB, free: 6.879 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 (7): * Single equations (assignments): 7 * 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.0004493/0.5547, allocations: 0.6282 MB / 0.8865 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.5548, allocations: 39.97 kB / 0.8866 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5548, allocations: 0 / 0.8866 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.561e-05/0.5549, allocations: 23.98 kB / 0.8866 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.5551, allocations: 14.56 kB / 0.8866 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.5555, allocations: 187.5 kB / 0.8868 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.5559, allocations: 0.6848 MB / 0.8875 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.777e-05/0.5559, allocations: 4 kB / 0.8875 GB, free: 5.207 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.556, allocations: 15.44 kB / 0.8875 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of SimCode: time 4.31e-07/0.556, allocations: 0 / 0.8875 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.567, allocations: 1.196 MB / 0.8886 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.5672, allocations: 221.5 kB / 0.8889 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.11, allocations: 0 / 0.8889 GB, free: 3.965 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)