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.587/1.587, allocations: 249.3 MB / 261.8 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 178.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009437/0.0009436, allocations: 86.53 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.427e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2501, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7632/1.013, allocations: 131.9 MB / 1.021 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.014, allocations: 80.75 kB / 1.021 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004137/1.018, allocations: 1.473 MB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.018, allocations: 0 / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.018, allocations: 0 / 1.022 GB, free: 1.469 MB / 0.6355 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.0002885/1.018, allocations: 338 kB / 1.023 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.018, allocations: 8.031 kB / 1.023 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/1.018, allocations: 34.56 kB / 1.023 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/1.019, allocations: 15.97 kB / 1.023 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/1.019, allocations: 167 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/1.019, allocations: 7.812 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/1.019, allocations: 0 / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/1.019, allocations: 40.88 kB / 1.023 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/1.019, allocations: 0 / 1.023 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/1.019, allocations: 4 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.019, allocations: 0 / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.739e-05/1.019, allocations: 15.62 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/1.019, allocations: 160.9 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/1.021, allocations: 279.9 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/1.021, allocations: 17.11 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/1.021, allocations: 0 / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/1.021, allocations: 38 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.021, allocations: 0 / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001433/1.021, allocations: 51.09 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/1.021, allocations: 55.41 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/1.021, allocations: 85 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/1.021, allocations: 31.58 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/1.021, allocations: 80.14 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/1.021, allocations: 23 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/1.021, allocations: 0 / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.022, allocations: 318.8 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/1.022, allocations: 11.5 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/1.022, allocations: 11.62 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.676e-05/1.022, allocations: 4 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.022, allocations: 3.938 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.723e-05/1.022, allocations: 53 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.022, allocations: 4 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.022, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/1.022, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/1.022, allocations: 8 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.022, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/1.022, allocations: 7 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/1.022, allocations: 3.5 kB / 1.024 GB, free: 15.48 MB / 0.6511 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 7.878e-05/1.022, allocations: 116.9 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/1.022, allocations: 3.906 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/1.022, allocations: 7.062 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/1.022, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.022, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.022, allocations: 4 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/1.022, allocations: 157 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.022, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/1.022, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/1.022, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/1.022, allocations: 3.188 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.022, allocations: 4 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.022, allocations: 3.984 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.96e-05/1.022, allocations: 75.62 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/1.022, allocations: 85.05 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/1.022, allocations: 7.797 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/1.023, allocations: 4 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/1.023, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/1.023, allocations: 7.984 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.062e-05/1.023, allocations: 75.28 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/1.023, allocations: 0 / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001884/1.023, allocations: 4 kB / 1.025 GB, free: 14.85 MB / 0.6511 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.0003808/1.023, allocations: 0.6188 MB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.567e-05/1.023, allocations: 27.06 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.023, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.186e-05/1.023, allocations: 19.75 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/1.024, allocations: 11.23 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/1.024, allocations: 111.4 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/1.024, allocations: 0.677 MB / 1.026 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.285e-05/1.024, allocations: 7.859 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/1.024, allocations: 15.42 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of SimCode: time 4.61e-07/1.024, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/1.036, allocations: 1.099 MB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/1.036, allocations: 175.3 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/2.468, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.6511 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)