Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_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.001041/0.001041, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001073/0.001074, allocations: 192.6 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002219/0.002219, allocations: 282.5 kB / 290.3 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9253/0.9253, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 97.14 kB / 0.5948 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1968, allocations: 86.97 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002825/0.1997, allocations: 1.324 MB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005663/0.2003, allocations: 291.1 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.2003, allocations: 0 / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.2003, allocations: 0.6562 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.2004, allocations: 5.688 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.2007, allocations: 47.75 kB / 0.6814 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.033e-05/0.2007, allocations: 19.92 kB / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.2008, allocations: 2.906 kB / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.637e-05/0.2008, allocations: 4 kB / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.2009, allocations: 11.98 kB / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.2009, allocations: 0 / 0.6814 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.201, allocations: 59.88 kB / 0.6815 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.201, allocations: 4 kB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.2011, allocations: 11.94 kB / 0.6815 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.2012, allocations: 52.89 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2012, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2012, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.2012, allocations: 1.719 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB 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.0003996/0.2016, allocations: 335.5 kB / 0.6818 GB, free: 14.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2017, allocations: 8.031 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.2017, allocations: 35.61 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.202, allocations: 17.55 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.845e-05/0.2021, allocations: 160.9 kB / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2021, allocations: 5.438 kB / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.2021, allocations: 384 / 0.6821 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.2022, allocations: 46.23 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2022, allocations: 4.938 kB / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2022, allocations: 7.984 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2023, allocations: 4 kB / 0.6821 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.573e-05/0.2023, allocations: 15.94 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.2025, allocations: 153.7 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.2043, allocations: 274.4 kB / 0.6825 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.2044, allocations: 20.84 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.2044, allocations: 0 / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.2044, allocations: 34.56 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.2044, allocations: 3.938 kB / 0.6826 GB, free: 13.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001557/0.2046, allocations: 73.47 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.2047, allocations: 51.41 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.645e-05/0.2047, allocations: 93.86 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2047, allocations: 25.7 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2049, allocations: 80.14 kB / 0.6829 GB, free: 13.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.2049, allocations: 11.91 kB / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.2049, allocations: 17.7 kB / 0.6829 GB, free: 13.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.205, allocations: 314.8 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.87e-05/0.2051, allocations: 4 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/0.2051, allocations: 11.98 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.2051, allocations: 32.92 kB / 0.6833 GB, free: 13.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2052, allocations: 0 / 0.6833 GB, free: 13.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.186e-05/0.2052, allocations: 57.59 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2053, allocations: 10.12 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2053, allocations: 0 / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.2053, allocations: 0 / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.664e-05/0.2053, allocations: 8 kB / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2054, allocations: 0 / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.2054, allocations: 3.938 kB / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2054, allocations: 4 kB / 0.6834 GB, free: 13 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.96e-05/0.2055, allocations: 115.2 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.2055, allocations: 3.938 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.2055, allocations: 11.81 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2055, allocations: 0 / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2055, allocations: 4 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.2055, allocations: 3.984 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.2057, allocations: 153.7 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2057, allocations: 3.938 kB / 0.6836 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.2057, allocations: 4 kB / 0.6836 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2057, allocations: 11.94 kB / 0.6837 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.2057, allocations: 4 kB / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2057, allocations: 0 / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2058, allocations: 0 / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.2059, allocations: 81.06 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.2059, allocations: 85 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.206, allocations: 7.938 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.206, allocations: 0 / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.206, allocations: 7.938 kB / 0.6838 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.206, allocations: 4 kB / 0.6838 GB, free: 12.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.972e-05/0.2061, allocations: 79.28 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2061, allocations: 0 / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001829/0.2063, allocations: 4 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003575/0.2066, allocations: 0.6242 MB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.859e-05/0.2067, allocations: 31.92 kB / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2067, allocations: 0 / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.2068, allocations: 8 kB / 0.6846 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.207, allocations: 11.98 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.2074, allocations: 156.4 kB / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.2079, allocations: 0.6729 MB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.621e-05/0.208, allocations: 4 kB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.445e-05/0.208, allocations: 11.44 kB / 0.6854 GB, free: 10.72 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.208, allocations: 0 / 0.6854 GB, free: 10.72 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.2191, allocations: 1.241 MB / 0.6866 GB, free: 9.648 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.2193, allocations: 223 kB / 0.6868 GB, free: 9.395 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/1.849, allocations: 2.5 kB / 0.6868 GB, free: 9.395 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)