Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 175.4 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009331/0.0009331, allocations: 93.98 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.000464, allocations: 16.67 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2943, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.488, allocations: 132 MB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.4883, allocations: 83.94 kB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004194/0.4925, allocations: 1.476 MB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.855e-06/0.4926, allocations: 8 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.445e-06/0.4926, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 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.0004372/0.493, allocations: 335.3 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.4931, allocations: 12.03 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.548e-05/0.4932, allocations: 30.56 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/0.4934, allocations: 27.97 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.4936, allocations: 163 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.4936, allocations: 4 kB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.4936, allocations: 4 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.4938, allocations: 37.69 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4938, allocations: 0 / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.4938, allocations: 0 / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4938, allocations: 4 kB / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.202e-05/0.4939, allocations: 19.92 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.4941, allocations: 169.6 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.4961, allocations: 270.4 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.4961, allocations: 0 / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.4962, allocations: 34.56 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.4962, allocations: 0 / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0001924/0.4964, allocations: 65.72 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.4964, allocations: 51.41 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.4965, allocations: 85 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.4966, allocations: 37.64 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.4966, allocations: 80.14 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.4967, allocations: 11.8 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4967, allocations: 4.125 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.4968, allocations: 310.8 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.4969, allocations: 12 kB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/0.4969, allocations: 8.188 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/0.4969, allocations: 20.02 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4969, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.281e-05/0.497, allocations: 53.64 kB / 1.032 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.497, allocations: 4 kB / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.497, allocations: 0 / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.4971, allocations: 3.938 kB / 1.032 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.4972, allocations: 15.98 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4972, allocations: 0 / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.013e-05/0.4972, allocations: 0.6719 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.4972, allocations: 0 / 1.032 GB, free: 8.039 MB / 0.6823 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 0.0001229/0.4973, allocations: 119.3 kB / 1.032 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.4974, allocations: 3.906 kB / 1.032 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.4974, allocations: 7.5 kB / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.4974, allocations: 0 / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4974, allocations: 0 / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4975, allocations: 8 kB / 1.032 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.4976, allocations: 153.7 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4977, allocations: 3.953 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.4977, allocations: 11.92 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4977, allocations: 0 / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.4978, allocations: 0 / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4978, allocations: 4 kB / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4978, allocations: 0 / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.4979, allocations: 77.12 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/0.4981, allocations: 85.06 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.4981, allocations: 0 / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.4981, allocations: 7.984 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.4982, allocations: 3.938 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.4982, allocations: 4 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.4982, allocations: 79.28 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4982, allocations: 0 / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001717/0.4984, allocations: 4 kB / 1.033 GB, free: 7.379 MB / 0.6823 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.000505/0.4989, allocations: 0.6203 MB / 1.033 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.747e-05/0.499, allocations: 23.98 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.499, allocations: 0 / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.4991, allocations: 19.92 kB / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.4993, allocations: 12 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.4997, allocations: 166.4 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.5, allocations: 0.677 MB / 1.034 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.431e-05/0.5001, allocations: 7.859 kB / 1.034 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.5001, allocations: 15.42 kB / 1.034 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/0.5002, allocations: 3.938 kB / 1.034 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.5135, allocations: 1.083 MB / 1.035 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/0.5139, allocations: 194.3 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.196, allocations: 1.719 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)