Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001135, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.033/1.033, allocations: 143.3 MB / 434.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005572/0.0005575, allocations: 12 kB / 0.5159 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1995, allocations: 83.41 MB / 0.5974 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001236/0.2008, allocations: 0.9783 MB / 0.5983 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004872/0.2013, allocations: 259.4 kB / 0.5986 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.604e-05/0.2013, allocations: 4 kB / 0.5986 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.2014, allocations: 0 / 0.5986 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.2014, allocations: 3.984 kB / 0.5986 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.2017, allocations: 47.86 kB / 0.5986 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.652e-05/0.2017, allocations: 15.97 kB / 0.5986 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.2018, allocations: 0 / 0.5986 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.998e-05/0.2018, allocations: 4 kB / 0.5986 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.759e-05/0.2018, allocations: 11.94 kB / 0.5986 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.2019, allocations: 0 / 0.5986 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.202, allocations: 59.94 kB / 0.5987 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.202, allocations: 7.922 kB / 0.5987 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.202, allocations: 29.7 kB / 0.5987 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.618e-05/0.2021, allocations: 32.2 kB / 0.5988 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.2022, allocations: 4 kB / 0.5988 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2022, allocations: 0 / 0.5988 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.2022, allocations: 0 / 0.5988 GB, free: 6.23 MB / 0.4981 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.0003454/0.2025, allocations: 325.8 kB / 0.5991 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2026, allocations: 8.031 kB / 0.5991 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.2026, allocations: 42.55 kB / 0.5991 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.2028, allocations: 15.94 kB / 0.5991 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.203, allocations: 174.9 kB / 0.5993 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.203, allocations: 4 kB / 0.5993 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.203, allocations: 0 / 0.5993 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2031, allocations: 41.69 kB / 0.5994 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2031, allocations: 0 / 0.5994 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2032, allocations: 0 / 0.5994 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2032, allocations: 0 / 0.5994 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.165e-05/0.2032, allocations: 19.98 kB / 0.5994 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.2034, allocations: 161.6 kB / 0.5995 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.2053, allocations: 270.4 kB / 0.5998 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.2053, allocations: 3.984 kB / 0.5998 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.2053, allocations: 42.56 kB / 0.5998 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2053, allocations: 0 / 0.5998 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001582/0.2055, allocations: 57.78 kB / 0.5999 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.2056, allocations: 59.28 kB / 0.5999 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.864e-05/0.2056, allocations: 97.84 kB / 0.6 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.2056, allocations: 25.7 kB / 0.6001 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.2057, allocations: 80.14 kB / 0.6001 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.2057, allocations: 15.88 kB / 0.6001 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.2057, allocations: 4 kB / 0.6002 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2058, allocations: 318.8 kB / 0.6005 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.2059, allocations: 4 kB / 0.6005 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.778e-05/0.2059, allocations: 11.98 kB / 0.6005 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.2059, allocations: 12 kB / 0.6005 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2059, allocations: 0 / 0.6005 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.249e-05/0.206, allocations: 49.69 kB / 0.6005 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.206, allocations: 8 kB / 0.6005 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.2061, allocations: 0 / 0.6005 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2061, allocations: 4 kB / 0.6005 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.2061, allocations: 7.938 kB / 0.6005 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2061, allocations: 0 / 0.6005 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.2062, allocations: 4 kB / 0.6006 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.2062, allocations: 0 / 0.6006 GB, free: 4.18 MB / 0.4981 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 8.398e-05/0.2063, allocations: 113.8 kB / 0.6007 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.2063, allocations: 7.984 kB / 0.6007 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.2063, allocations: 7.5 kB / 0.6007 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2063, allocations: 0 / 0.6007 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2063, allocations: 4 kB / 0.6007 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2064, allocations: 0 / 0.6007 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.2065, allocations: 165.5 kB / 0.6008 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2065, allocations: 4 kB / 0.6008 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.2065, allocations: 4 kB / 0.6008 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2065, allocations: 4 kB / 0.6008 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.2065, allocations: 0 / 0.6008 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2066, allocations: 0 / 0.6008 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2066, allocations: 0 / 0.6008 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.2067, allocations: 96.92 kB / 0.6009 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.2067, allocations: 81.09 kB / 0.601 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.2068, allocations: 0 / 0.601 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.2068, allocations: 0 / 0.601 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.2068, allocations: 4 kB / 0.601 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2068, allocations: 0 / 0.601 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.88e-05/0.2069, allocations: 79.22 kB / 0.6011 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2069, allocations: 0 / 0.6011 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001786/0.2071, allocations: 12 kB / 0.6011 GB, free: 3.512 MB / 0.4981 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.0003745/0.2074, allocations: 0.6263 MB / 0.6017 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.908e-05/0.2076, allocations: 28.02 kB / 0.6017 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2076, allocations: 0 / 0.6017 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.207e-05/0.2076, allocations: 12 kB / 0.6018 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.2078, allocations: 19.92 kB / 0.6018 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.2082, allocations: 158.2 kB / 0.6019 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.2085, allocations: 0.6809 MB / 0.6026 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.72e-05/0.2085, allocations: 4 kB / 0.6026 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.2086, allocations: 7.438 kB / 0.6026 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2086, allocations: 0 / 0.6026 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.2202, allocations: 1.092 MB / 0.6037 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/0.2206, allocations: 195.5 kB / 0.6039 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/1.85, allocations: 3.938 kB / 0.6039 GB, free: 0.7031 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: