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 0.7686/0.7686, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 171.3 kB / 187.2 MB, free: 11.89 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.518/1.518, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.0009686/0.0009684, allocations: 96.86 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001945/0.001945, allocations: 279.1 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.227e-05/4.23e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.4901, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.6295, allocations: 109.8 MB / 0.8716 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.6299, allocations: 79.94 kB / 0.8716 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007411/0.6373, allocations: 2.485 MB / 0.8741 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6374, allocations: 0 / 0.8741 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.6374, allocations: 0 / 0.8741 GB, free: 12.2 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.0003583/0.6378, allocations: 358.4 kB / 0.8744 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.6378, allocations: 8.031 kB / 0.8744 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.6379, allocations: 38.56 kB / 0.8745 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.6381, allocations: 11.97 kB / 0.8745 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.6382, allocations: 171 kB / 0.8746 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.6382, allocations: 0 / 0.8746 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.6382, allocations: 11.98 kB / 0.8746 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.6384, allocations: 41.69 kB / 0.8747 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.6384, allocations: 0 / 0.8747 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.6384, allocations: 7.938 kB / 0.8747 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.6384, allocations: 4 kB / 0.8747 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.038e-05/0.6385, allocations: 23.98 kB / 0.8747 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.6387, allocations: 165.6 kB / 0.8749 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.6388, allocations: 66.55 kB / 0.8749 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.6389, allocations: 24.98 kB / 0.875 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.6389, allocations: 0 / 0.875 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.639, allocations: 38.56 kB / 0.875 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.639, allocations: 0 / 0.875 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0001766/0.6391, allocations: 57.73 kB / 0.875 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.6392, allocations: 59.33 kB / 0.8751 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.6393, allocations: 93 kB / 0.8752 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.6393, allocations: 25.7 kB / 0.8752 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.6393, allocations: 80.14 kB / 0.8753 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.6394, allocations: 27.72 kB / 0.8753 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.6394, allocations: 4 kB / 0.8753 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6395, allocations: 310.8 kB / 0.8756 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.6396, allocations: 15.98 kB / 0.8756 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.6396, allocations: 8 kB / 0.8756 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.348e-05/0.6396, allocations: 12 kB / 0.8757 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6396, allocations: 0 / 0.8757 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.632e-05/0.6397, allocations: 65.64 kB / 0.8757 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.6398, allocations: 4 kB / 0.8757 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6398, allocations: 0 / 0.8757 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.6398, allocations: 4 kB / 0.8757 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.6399, allocations: 19.92 kB / 0.8757 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.6399, allocations: 0 / 0.8757 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.64, allocations: 4.25 kB / 0.8757 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.64, allocations: 4 kB / 0.8758 GB, free: 10.25 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 () * 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 7.914e-05/0.6401, allocations: 105 kB / 0.8759 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.6401, allocations: 7.953 kB / 0.8759 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.6403, allocations: 92.02 kB / 0.8759 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6403, allocations: 0 / 0.8759 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6403, allocations: 4 kB / 0.876 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6404, allocations: 3.938 kB / 0.876 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.6405, allocations: 173.6 kB / 0.8761 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.6405, allocations: 0 / 0.8761 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.6406, allocations: 12 kB / 0.8761 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6406, allocations: 3.984 kB / 0.8761 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.6406, allocations: 7.953 kB / 0.8761 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6406, allocations: 0 / 0.8761 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6406, allocations: 7.984 kB / 0.8762 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.6408, allocations: 89.06 kB / 0.8762 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.6408, allocations: 85.02 kB / 0.8763 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.6409, allocations: 3.984 kB / 0.8763 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/0.6409, allocations: 7.953 kB / 0.8763 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.641, allocations: 7.938 kB / 0.8763 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.641, allocations: 4 kB / 0.8763 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.641, allocations: 79.28 kB / 0.8764 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.641, allocations: 3.938 kB / 0.8764 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001677/0.6412, allocations: 8 kB / 0.8764 GB, free: 9.469 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 () * 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.0004504/0.6417, allocations: 0.6321 MB / 0.877 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.6418, allocations: 39.92 kB / 0.8771 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6418, allocations: 0 / 0.8771 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.361e-05/0.6418, allocations: 24 kB / 0.8771 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.642, allocations: 11.89 kB / 0.8771 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.6424, allocations: 100.3 kB / 0.8772 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.6427, allocations: 0.6848 MB / 0.8779 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.595e-05/0.6427, allocations: 12 kB / 0.8779 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.6428, allocations: 15.38 kB / 0.8779 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of SimCode: time 3.91e-07/0.6428, allocations: 0 / 0.8779 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01271/0.6555, allocations: 1.215 MB / 0.8791 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.6558, allocations: 189.5 kB / 0.8793 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.25, allocations: 0 / 0.8793 GB, free: 6.637 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)