Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.001019/0.001019, 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.00119/0.00119, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 282.4 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9088/0.9088, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 94.64 kB / 0.5948 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1927, allocations: 86.98 MB / 0.6797 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002805/0.1956, allocations: 1.327 MB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.197, allocations: 0.8185 MB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.364e-05/0.197, allocations: 0 / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.1971, allocations: 4.562 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.1972, allocations: 3.984 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005913/0.1978, allocations: 124.9 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.569e-05/0.1978, allocations: 24.58 kB / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.1979, allocations: 4 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.1979, allocations: 15.94 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.318e-05/0.198, allocations: 7.984 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.198, allocations: 0 / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.1984, allocations: 175.6 kB / 0.6822 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.1984, allocations: 8 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.1984, allocations: 15.91 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.1987, allocations: 116 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1987, allocations: 0 / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1987, allocations: 0 / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1987, allocations: 0 / 0.6823 GB, free: 14.3 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.0004794/0.1992, allocations: 363.4 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1993, allocations: 8.031 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.942e-05/0.1993, allocations: 38.73 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.1993, allocations: 8.844 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1995, allocations: 160.4 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.171e-05/0.1996, allocations: 30.27 kB / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.1996, allocations: 384 / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1997, allocations: 57.92 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1998, allocations: 4 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1998, allocations: 0 / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1998, allocations: 0 / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.694e-05/0.1999, allocations: 19.98 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.2001, allocations: 153.7 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.2003, allocations: 46.56 kB / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.827e-05/0.2003, allocations: 20.8 kB / 0.6832 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/0.2007, allocations: 186.3 kB / 0.6834 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.2007, allocations: 38.44 kB / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.2007, allocations: 4 kB / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002586/0.201, allocations: 61.67 kB / 0.6835 GB, free: 12.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.201, allocations: 59.41 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.411e-05/0.2011, allocations: 97.84 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.2011, allocations: 29.7 kB / 0.6836 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.2012, allocations: 80.14 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.2012, allocations: 11.75 kB / 0.6837 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.2013, allocations: 21.7 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2014, allocations: 310.8 kB / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.025e-05/0.2014, allocations: 12 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.2015, allocations: 16.3 kB / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.496e-05/0.2016, allocations: 32.92 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2016, allocations: 7.938 kB / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/0.2017, allocations: 49.69 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2017, allocations: 7.938 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2017, allocations: 0 / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2018, allocations: 4 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.535e-05/0.2018, allocations: 7.984 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2018, allocations: 4 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.2019, allocations: 7.906 kB / 0.6842 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.2019, allocations: 0 / 0.6842 GB, free: 12.1 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 7.458e-05/0.202, allocations: 115.1 kB / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.202, allocations: 7.938 kB / 0.6843 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.2022, allocations: 65.16 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2022, allocations: 4 kB / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2022, allocations: 0 / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2022, allocations: 7.984 kB / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.2023, allocations: 153.7 kB / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2023, allocations: 0 / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.2024, allocations: 8 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2024, allocations: 3.938 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2024, allocations: 4 kB / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2024, allocations: 0 / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2024, allocations: 3.938 kB / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.2026, allocations: 85.11 kB / 0.6846 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.2027, allocations: 88.95 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.2027, allocations: 3.984 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.2027, allocations: 0 / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.2028, allocations: 4 kB / 0.6847 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2028, allocations: 3.938 kB / 0.6847 GB, free: 11.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.986e-05/0.2028, allocations: 87.27 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2028, allocations: 0 / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.2031, allocations: 35.94 kB / 0.6848 GB, free: 11.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.0005542/0.2036, allocations: 0.6708 MB / 0.6855 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.2038, allocations: 28.31 kB / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2038, allocations: 0 / 0.6855 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.455e-05/0.2039, allocations: 23.92 kB / 0.6855 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.2041, allocations: 10.11 kB / 0.6855 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.2046, allocations: 173.1 kB / 0.6857 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.2048, allocations: 0.6729 MB / 0.6864 GB, free: 9.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.2049, allocations: 11.97 kB / 0.6864 GB, free: 9.648 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.2049, allocations: 11.44 kB / 0.6864 GB, free: 9.641 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2049, allocations: 0 / 0.6864 GB, free: 9.641 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.046/0.2509, allocations: 1.834 MB / 0.6882 GB, free: 7.973 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/0.2512, allocations: 224.2 kB / 0.6884 GB, free: 7.723 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.929, allocations: 4.062 kB / 0.6884 GB, free: 7.719 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)