Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.9433/0.9433, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001118/0.001119, allocations: 175.1 kB / 191.5 MB, free: 5.762 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.63/1.63, allocations: 223.2 MB / 447.7 MB, free: 6.543 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.0009055/0.0009055, allocations: 92.27 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.001796/0.001796, allocations: 272.8 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007634/0.0007634, allocations: 12 kB / 0.6929 GB, free: 2.211 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.416, allocations: 82.77 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.5757, allocations: 110.1 MB / 0.8813 GB, free: 12 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003783/0.5761, allocations: 87.88 kB / 0.8814 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0197/0.5959, allocations: 6.263 MB / 0.8875 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.947e-06/0.5959, allocations: 3.938 kB / 0.8875 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.596, allocations: 0 / 0.8875 GB, free: 5.645 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005927/0.5966, allocations: 371.2 kB / 0.8878 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.736e-05/0.5966, allocations: 8.562 kB / 0.8878 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.5967, allocations: 30.56 kB / 0.8879 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.5969, allocations: 11.98 kB / 0.8879 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.5971, allocations: 163.1 kB / 0.888 GB, free: 4.977 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.5971, allocations: 7.953 kB / 0.888 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.5972, allocations: 4 kB / 0.888 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.5973, allocations: 49.61 kB / 0.8881 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.5973, allocations: 0 / 0.8881 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.5974, allocations: 0 / 0.8881 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.5974, allocations: 4 kB / 0.8881 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.249e-05/0.5974, allocations: 12 kB / 0.8881 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.5977, allocations: 153.7 kB / 0.8883 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008796/0.5986, allocations: 138.5 kB / 0.8884 GB, free: 4.551 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.5987, allocations: 89.19 kB / 0.8885 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.5987, allocations: 38.5 kB / 0.8885 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5987, allocations: 0 / 0.8885 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001703/0.5989, allocations: 61.59 kB / 0.8886 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.599, allocations: 51.41 kB / 0.8886 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.74e-05/0.599, allocations: 89 kB / 0.8887 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.5991, allocations: 29.7 kB / 0.8887 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.5991, allocations: 88.25 kB / 0.8888 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.5991, allocations: 3.906 kB / 0.8888 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.5992, allocations: 0 / 0.8888 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5993, allocations: 318.8 kB / 0.8891 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.5993, allocations: 7.938 kB / 0.8891 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.5993, allocations: 11.98 kB / 0.8891 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.601e-05/0.5994, allocations: 8 kB / 0.8891 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5994, allocations: 0 / 0.8891 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.42e-05/0.5995, allocations: 57.53 kB / 0.8892 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.5995, allocations: 12.89 kB / 0.8892 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.5995, allocations: 4 kB / 0.8892 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5995, allocations: 0 / 0.8892 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.5996, allocations: 11.98 kB / 0.8892 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.5996, allocations: 0 / 0.8892 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.952e-05/0.5996, allocations: 3.938 kB / 0.8892 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.5996, allocations: 4 kB / 0.8892 GB, free: 3.602 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 (4): * Single equations (assignments): 4 * 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.476e-05/0.5997, allocations: 112.2 kB / 0.8893 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.5998, allocations: 4 kB / 0.8893 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.6, allocations: 81.12 kB / 0.8894 GB, free: 3.391 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6001, allocations: 0 / 0.8894 GB, free: 3.391 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.6001, allocations: 3.984 kB / 0.8894 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.6001, allocations: 0 / 0.8894 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.6002, allocations: 157.7 kB / 0.8896 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6003, allocations: 4 kB / 0.8896 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.6003, allocations: 8 kB / 0.8896 GB, free: 3.172 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.6003, allocations: 0 / 0.8896 GB, free: 3.172 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.6003, allocations: 0 / 0.8896 GB, free: 3.172 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.6004, allocations: 3.953 kB / 0.8896 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6004, allocations: 0 / 0.8896 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.6005, allocations: 96.91 kB / 0.8897 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.551e-05/0.6006, allocations: 85.22 kB / 0.8898 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.6006, allocations: 8 kB / 0.8898 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.372e-05/0.6007, allocations: 0 / 0.8898 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.6007, allocations: 7.953 kB / 0.8898 GB, free: 2.938 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.6007, allocations: 0 / 0.8898 GB, free: 2.938 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.6008, allocations: 75.28 kB / 0.8899 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6008, allocations: 4 kB / 0.8899 GB, free: 2.859 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002632/0.601, allocations: 59.92 kB / 0.8899 GB, free: 2.801 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 (5): * Single equations (assignments): 5 * 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.0007251/0.6018, allocations: 0.7104 MB / 0.8906 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.272e-05/0.6019, allocations: 27.98 kB / 0.8906 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6019, allocations: 0 / 0.8906 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.925e-05/0.6019, allocations: 19.94 kB / 0.8907 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.602, allocations: 13.44 kB / 0.8907 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.6025, allocations: 190.1 kB / 0.8908 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.6028, allocations: 0.6848 MB / 0.8915 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.501e-05/0.6028, allocations: 8 kB / 0.8915 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.6029, allocations: 15.42 kB / 0.8915 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6029, allocations: 3.938 kB / 0.8915 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.6157, allocations: 1.686 MB / 0.8932 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.6159, allocations: 246.3 kB / 0.8934 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.16, allocations: 4 kB / 0.8934 GB, free: 15.25 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)