Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.6 MB / 307.5 MB, free: 5.156 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.001222/0.001222, allocations: 185.1 kB / 377.1 MB, free: 1.512 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.988/1.988, allocations: 205.4 MB / 0.6366 GB, free: 8.543 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.0008487/0.0008486, allocations: 92.22 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004094, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3086, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7876/1.096, allocations: 139.2 MB / 1.124 GB, free: 35.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/1.097, allocations: 82.72 kB / 1.124 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003957/1.101, allocations: 1.483 MB / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.447e-06/1.101, allocations: 0 / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.885e-06/1.101, allocations: 0 / 1.126 GB, free: 34.17 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.0003102/1.101, allocations: 344 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.101, allocations: 12.02 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/1.101, allocations: 38.56 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/1.101, allocations: 22.69 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.845e-05/1.101, allocations: 163.1 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/1.101, allocations: 0 / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/1.102, allocations: 3.438 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/1.102, allocations: 44.88 kB / 1.127 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/1.102, allocations: 0 / 1.127 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/1.102, allocations: 0.6562 kB / 1.127 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.102, allocations: 1.125 kB / 1.127 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/1.102, allocations: 23.94 kB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/1.102, allocations: 161.1 kB / 1.127 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/1.104, allocations: 265.7 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/1.104, allocations: 3.938 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/1.104, allocations: 36.06 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/1.104, allocations: 0.5625 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001626/1.104, allocations: 74.98 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/1.104, allocations: 51.41 kB / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.685e-05/1.104, allocations: 89 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/1.104, allocations: 29.7 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.74e-05/1.104, allocations: 80.14 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/1.104, allocations: 12.5 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/1.104, allocations: 0 / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.176e-05/1.104, allocations: 314.3 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/1.104, allocations: 8 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.364e-05/1.104, allocations: 8 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.694e-05/1.104, allocations: 16.34 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.104, allocations: 4 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.752e-05/1.104, allocations: 58.16 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.104, allocations: 8 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.104, allocations: 3.562 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.104, allocations: 1.641 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.815e-05/1.105, allocations: 4 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/1.105, allocations: 0 / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/1.105, allocations: 4 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/1.105, allocations: 0.5625 kB / 1.128 GB, free: 32.22 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 6.677e-05/1.105, allocations: 116.5 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/1.105, allocations: 7.953 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/1.105, allocations: 7.5 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/1.105, allocations: 3.609 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.105, allocations: 0 / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.105, allocations: 0.5625 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/1.105, allocations: 153.7 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.105, allocations: 4 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/1.105, allocations: 4 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.105, allocations: 3.953 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/1.105, allocations: 4.5 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.105, allocations: 4.875 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.105, allocations: 0 / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/1.105, allocations: 83.45 kB / 1.128 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/1.105, allocations: 84.53 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/1.105, allocations: 3.953 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.622e-05/1.105, allocations: 0 / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/1.105, allocations: 7.656 kB / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/1.105, allocations: 4.562 kB / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.244e-05/1.105, allocations: 75.28 kB / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.105, allocations: 0 / 1.128 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001855/1.106, allocations: 8.938 kB / 1.128 GB, free: 31.59 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 (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.0003382/1.106, allocations: 0.6157 MB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001029/1.106, allocations: 27.38 kB / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.106, allocations: 0 / 1.129 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/1.106, allocations: 15.28 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/1.106, allocations: 12.55 kB / 1.129 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/1.107, allocations: 168.5 kB / 1.129 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/1.107, allocations: 0.6804 MB / 1.13 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.877e-05/1.107, allocations: 3.234 kB / 1.13 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/1.107, allocations: 7.438 kB / 1.13 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/1.107, allocations: 4 kB / 1.13 GB, free: 30 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/1.119, allocations: 1.082 MB / 1.131 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/1.119, allocations: 184.9 kB / 1.131 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.659, allocations: 0 / 1.131 GB, free: 29.2 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)