Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.81/1.81, allocations: 292.6 MB / 307.5 MB, free: 5.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001085, allocations: 180.8 kB / 377.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 0.6366 GB, free: 9.527 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001038, allocations: 94.12 kB / 0.7509 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004076, allocations: 12 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3489, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8584/1.207, allocations: 140.4 MB / 1.126 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/1.208, allocations: 82.55 kB / 1.126 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01685/1.225, allocations: 6.181 MB / 1.132 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.825e-06/1.225, allocations: 3.938 kB / 1.132 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.523e-06/1.225, allocations: 4 kB / 1.132 GB, free: 30.04 MB / 0.7292 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.0004818/1.225, allocations: 371.4 kB / 1.132 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/1.225, allocations: 12.02 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/1.225, allocations: 34.56 kB / 1.132 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/1.225, allocations: 14.38 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/1.226, allocations: 163 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/1.226, allocations: 0 / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/1.226, allocations: 1.953 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/1.226, allocations: 44.92 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.226, allocations: 0 / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.226, allocations: 0 / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.226, allocations: 5.719 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.908e-05/1.226, allocations: 23.36 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/1.226, allocations: 164.7 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008867/1.227, allocations: 123.1 kB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/1.227, allocations: 81.11 kB / 1.133 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/1.227, allocations: 34.5 kB / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/1.227, allocations: 0 / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0002083/1.227, allocations: 68.44 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/1.227, allocations: 55.41 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/1.228, allocations: 89 kB / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/1.228, allocations: 30.02 kB / 1.133 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/1.228, allocations: 80.14 kB / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/1.228, allocations: 4.688 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/1.228, allocations: 4 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/1.228, allocations: 314.8 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/1.228, allocations: 11.55 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/1.228, allocations: 8 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/1.228, allocations: 8 kB / 1.133 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.228, allocations: 0 / 1.133 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.147e-05/1.228, allocations: 69.88 kB / 1.133 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.228, allocations: 4 kB / 1.133 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/1.228, allocations: 0 / 1.133 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.228, allocations: 336 / 1.133 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/1.228, allocations: 8 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.228, allocations: 0 / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/1.228, allocations: 0.8438 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/1.228, allocations: 8 kB / 1.133 GB, free: 28.08 MB / 0.7292 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 7.35e-05/1.228, allocations: 113.2 kB / 1.134 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/1.228, allocations: 7.938 kB / 1.134 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/1.228, allocations: 85.92 kB / 1.134 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.228, allocations: 3.422 kB / 1.134 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.228, allocations: 0 / 1.134 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.228, allocations: 0 / 1.134 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/1.229, allocations: 165.8 kB / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/1.229, allocations: 0 / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/1.229, allocations: 8 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/1.229, allocations: 3.953 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/1.229, allocations: 0.625 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.229, allocations: 0.75 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.229, allocations: 3.281 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/1.229, allocations: 92.98 kB / 1.134 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/1.229, allocations: 85.05 kB / 1.134 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/1.229, allocations: 7.328 kB / 1.134 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.584e-05/1.229, allocations: 0.625 kB / 1.134 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/1.229, allocations: 8 kB / 1.134 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/1.229, allocations: 0 / 1.134 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.255e-05/1.229, allocations: 80.22 kB / 1.134 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/1.229, allocations: 0 / 1.134 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002846/1.229, allocations: 57.44 kB / 1.134 GB, free: 27.3 MB / 0.7292 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.0006358/1.23, allocations: 0.6915 MB / 1.135 GB, free: 26.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001166/1.23, allocations: 35.45 kB / 1.135 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.23, allocations: 0 / 1.135 GB, free: 26.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.7e-05/1.23, allocations: 17.31 kB / 1.135 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/1.23, allocations: 5.875 kB / 1.135 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/1.231, allocations: 192.3 kB / 1.135 GB, free: 26.35 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/1.231, allocations: 0.6848 MB / 1.136 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.065e-05/1.231, allocations: 15.97 kB / 1.136 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/1.231, allocations: 8.703 kB / 1.136 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.231, allocations: 3.938 kB / 1.136 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/1.246, allocations: 1.665 MB / 1.137 GB, free: 24.74 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/1.246, allocations: 236.7 kB / 1.138 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.889, allocations: 0 / 1.138 GB, free: 24.5 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)