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.532/1.532, allocations: 252 MB / 267 MB, free: 10.97 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.001115/0.001115, allocations: 182.6 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.4 MB / 0.5777 GB, free: 20.51 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.0009559/0.0009558, allocations: 100.3 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 8.719 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2986, allocations: 106.3 MB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00144/0.3001, allocations: 0.9931 MB / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004932/0.3006, allocations: 272.6 kB / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.3006, allocations: 4 kB / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.3006, allocations: 0 / 0.9015 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.3007, allocations: 3.938 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.3009, allocations: 47.77 kB / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.682e-05/0.301, allocations: 15.92 kB / 0.9016 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.3011, allocations: 11.92 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/0.3011, allocations: 4 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.862e-05/0.3012, allocations: 7.984 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.3012, allocations: 0 / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3013, allocations: 51.95 kB / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.886e-06/0.3013, allocations: 0 / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.3014, allocations: 33.64 kB / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.946e-05/0.3015, allocations: 39.95 kB / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3015, allocations: 0 / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3015, allocations: 0 / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.3015, allocations: 0 / 0.9017 GB, free: 62.7 MB / 0.6042 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.0003683/0.3019, allocations: 331.6 kB / 0.9021 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3019, allocations: 12.03 kB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.302, allocations: 30.56 kB / 0.9021 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.3022, allocations: 15.98 kB / 0.9021 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.783e-05/0.3023, allocations: 175 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3023, allocations: 0 / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3023, allocations: 4 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.3025, allocations: 45.69 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3025, allocations: 0 / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3025, allocations: 0 / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3025, allocations: 0 / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.498e-05/0.3026, allocations: 23.92 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.3027, allocations: 153.6 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.3046, allocations: 270.5 kB / 0.9028 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.3047, allocations: 28.83 kB / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.3047, allocations: 7.938 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3047, allocations: 34.56 kB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3047, allocations: 3.938 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001766/0.3049, allocations: 65.53 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.3049, allocations: 51.41 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.638e-05/0.305, allocations: 97.84 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.305, allocations: 29.83 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.754e-05/0.305, allocations: 84.14 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3051, allocations: 7.844 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.3051, allocations: 0 / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.3051, allocations: 318.8 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.3052, allocations: 4 kB / 0.9035 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.3052, allocations: 15.98 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.367e-05/0.3052, allocations: 8 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3052, allocations: 0 / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.634e-05/0.3053, allocations: 61.62 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3053, allocations: 4 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3053, allocations: 0 / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3054, allocations: 0 / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.3054, allocations: 8 kB / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3054, allocations: 0 / 0.9035 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.3055, allocations: 3.906 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.3055, allocations: 0 / 0.9036 GB, free: 60.62 MB / 0.6042 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.844e-05/0.3056, allocations: 117.8 kB / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.3056, allocations: 0 / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.3056, allocations: 15.48 kB / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3056, allocations: 0 / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3056, allocations: 0 / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3056, allocations: 0 / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.171e-05/0.3057, allocations: 161.6 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3057, allocations: 0 / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.3058, allocations: 7.938 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3058, allocations: 0 / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3058, allocations: 0 / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3058, allocations: 7.938 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3058, allocations: 0 / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222e-05/0.3059, allocations: 81.12 kB / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.306, allocations: 85.05 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.306, allocations: 0 / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.473e-05/0.3061, allocations: 4 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.3061, allocations: 0 / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3061, allocations: 0 / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.115e-05/0.3061, allocations: 83.28 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.3061, allocations: 0 / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000164/0.3063, allocations: 11.94 kB / 0.9041 GB, free: 59.95 MB / 0.6042 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.0002708/0.3066, allocations: 0.6244 MB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.786e-05/0.3067, allocations: 24.02 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3067, allocations: 4.094 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.861e-05/0.3067, allocations: 15.94 kB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.3069, allocations: 15.98 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.3073, allocations: 158.5 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.3075, allocations: 0.6731 MB / 0.9056 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.05e-05/0.3075, allocations: 7.859 kB / 0.9056 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.3076, allocations: 15.42 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.3076, allocations: 0 / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/0.32, allocations: 1.11 MB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.3202, allocations: 202.5 kB / 0.9069 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.037, allocations: 0 / 0.9069 GB, free: 57.14 MB / 0.6042 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)