Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.7/1.7, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001027/0.001027, allocations: 176.8 kB / 361.4 MB, free: 6.832 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.566/1.566, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009148/0.0009147, allocations: 95.22 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.551e-05/4.615e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8109/0.811, allocations: 115.3 MB / 0.9645 GB, free: 78.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2172/1.028, allocations: 137.5 MB / 1.099 GB, free: 2.238 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/1.029, allocations: 75.95 kB / 1.099 GB, free: 2.164 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004002/1.033, allocations: 1.473 MB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/1.033, allocations: 0.6562 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.717e-06/1.033, allocations: 0 / 1.1 GB, free: 0.7344 MB / 0.698 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.0003865/1.033, allocations: 330.5 kB / 1.101 GB, free: 376 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/1.033, allocations: 8.031 kB / 1.101 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002371/1.033, allocations: 23.94 kB / 1.101 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/1.033, allocations: 163 kB / 1.101 GB, free: 144 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/1.033, allocations: 5.875 kB / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/1.034, allocations: 3.281 kB / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.683e-05/1.034, allocations: 12 kB / 1.101 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.585e-05/1.034, allocations: 45.16 kB / 1.101 GB, free: 80 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/1.034, allocations: 4.531 kB / 1.101 GB, free: 76 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.034, allocations: 0 / 1.101 GB, free: 76 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.034, allocations: 0.5625 kB / 1.101 GB, free: 76 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/1.034, allocations: 131.6 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/1.036, allocations: 273.2 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/1.036, allocations: 17.55 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/1.036, allocations: 5.031 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/1.036, allocations: 30.56 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.976e-06/1.036, allocations: 0.5625 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002031/1.036, allocations: 62.19 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/1.036, allocations: 56.28 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/1.036, allocations: 86.06 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/1.036, allocations: 25.7 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/1.036, allocations: 81.8 kB / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/1.036, allocations: 7.844 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/1.036, allocations: 0 / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.037, allocations: 318.8 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/1.037, allocations: 12.11 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/1.037, allocations: 8 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.68e-05/1.037, allocations: 8 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.037, allocations: 0 / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.662e-05/1.037, allocations: 57.55 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.037, allocations: 4 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.037, allocations: 0 / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.037, allocations: 0 / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.588e-05/1.037, allocations: 11.94 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.037, allocations: 0 / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/1.037, allocations: 0 / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/1.037, allocations: 4 kB / 1.102 GB, free: 14.8 MB / 0.7136 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 (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.045e-05/1.037, allocations: 103.7 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.765e-05/1.037, allocations: 57.64 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-06/1.037, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/1.037, allocations: 15.73 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.037, allocations: 3.984 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.037, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.037, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/1.037, allocations: 126.2 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.037, allocations: 7.438 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/1.037, allocations: 7.984 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.037, allocations: 7.953 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/1.037, allocations: 0 / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/1.037, allocations: 3.938 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/1.037, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/1.038, allocations: 80.97 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/1.038, allocations: 77.11 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/1.038, allocations: 7.953 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.926e-05/1.038, allocations: 11.98 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/1.038, allocations: 0 / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/1.038, allocations: 0 / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.307e-05/1.038, allocations: 81.06 kB / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.038, allocations: 0 / 1.103 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001824/1.038, allocations: 4 kB / 1.103 GB, free: 14.14 MB / 0.7136 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 (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 Backend phase and start with SimCode phase: time 0.0003616/1.038, allocations: 0.6141 MB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.034e-05/1.038, allocations: 27.98 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.038, allocations: 0 / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.637e-05/1.038, allocations: 8 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/1.039, allocations: 12.47 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/1.039, allocations: 100 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/1.039, allocations: 0.6806 MB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.195e-05/1.039, allocations: 4 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/1.039, allocations: 11.44 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.039, allocations: 0 / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/1.057, allocations: 0.791 MB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/1.057, allocations: 166.4 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.527, allocations: 0 / 1.105 GB, free: 11.66 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)