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.647/1.647, allocations: 285.4 MB / 298 MB, free: 5.918 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.0009574/0.0009575, allocations: 184.8 kB / 366.4 MB, free: 2.074 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.682/1.682, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.0008864/0.0008864, allocations: 92.42 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.372e-05/4.374e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8744/0.8745, allocations: 115.3 MB / 0.971 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/1.165, allocations: 138.2 MB / 1.106 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003527/1.165, allocations: 75.95 kB / 1.106 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006382/1.172, allocations: 1.486 MB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.855e-06/1.172, allocations: 0 / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.147e-06/1.172, allocations: 0 / 1.107 GB, free: 12.07 MB / 0.7136 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.0004351/1.172, allocations: 326.5 kB / 1.108 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.663e-05/1.172, allocations: 8.031 kB / 1.108 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.642e-05/1.173, allocations: 36.78 kB / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002938/1.173, allocations: 21.12 kB / 1.108 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/1.173, allocations: 167 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/1.173, allocations: 4 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/1.173, allocations: 0.5312 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/1.173, allocations: 43.59 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.173, allocations: 2.438 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/1.173, allocations: 0 / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.173, allocations: 0 / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.364e-05/1.173, allocations: 16 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/1.174, allocations: 161.6 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/1.176, allocations: 275.8 kB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.98e-05/1.176, allocations: 20.86 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/1.176, allocations: 3.984 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/1.176, allocations: 30.56 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 4.278e-06/1.176, allocations: 0.6562 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002059/1.177, allocations: 53.69 kB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/1.177, allocations: 62.31 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/1.177, allocations: 93.5 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/1.177, allocations: 25.7 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/1.177, allocations: 84.12 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/1.177, allocations: 11.83 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/1.177, allocations: 0 / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.177, allocations: 322.7 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/1.177, allocations: 6.625 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/1.177, allocations: 8 kB / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/1.177, allocations: 12 kB / 1.109 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.177, allocations: 3.953 kB / 1.109 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001389/1.177, allocations: 54.66 kB / 1.109 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.177, allocations: 4 kB / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/1.177, allocations: 0 / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.177, allocations: 0 / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/1.178, allocations: 10.94 kB / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/1.178, allocations: 11.92 kB / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/1.178, allocations: 0 / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/1.178, allocations: 0 / 1.109 GB, free: 10.04 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 0.0001288/1.178, allocations: 101 kB / 1.109 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/1.178, allocations: 7.953 kB / 1.109 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.321e-05/1.178, allocations: 11.62 kB / 1.109 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1.178, allocations: 0 / 1.109 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.178, allocations: 3.562 kB / 1.109 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.178, allocations: 0 / 1.109 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/1.178, allocations: 153.7 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.178, allocations: 4 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/1.178, allocations: 7.953 kB / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.178, allocations: 0 / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/1.178, allocations: 0 / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.178, allocations: 0 / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.178, allocations: 3.984 kB / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/1.178, allocations: 89.06 kB / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/1.179, allocations: 81.02 kB / 1.11 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/1.179, allocations: 7.891 kB / 1.11 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.224e-05/1.179, allocations: 5.969 kB / 1.11 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/1.179, allocations: 3.984 kB / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/1.179, allocations: 0 / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.254e-05/1.179, allocations: 83.28 kB / 1.11 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/1.179, allocations: 0 / 1.11 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003076/1.179, allocations: 8 kB / 1.11 GB, free: 9.383 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.0005502/1.18, allocations: 0.606 MB / 1.11 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001308/1.18, allocations: 31.97 kB / 1.11 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.18, allocations: 96 / 1.11 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/1.18, allocations: 16 kB / 1.11 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/1.18, allocations: 11.94 kB / 1.11 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/1.181, allocations: 101 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/1.181, allocations: 0.677 MB / 1.111 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.578e-05/1.181, allocations: 7.984 kB / 1.111 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/1.181, allocations: 9.938 kB / 1.111 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/1.181, allocations: 4 kB / 1.111 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/1.196, allocations: 1.098 MB / 1.112 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/1.197, allocations: 174.1 kB / 1.112 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/2.704, allocations: 0 / 1.112 GB, free: 6.707 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)