Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 193 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.3 MB / 0.5489 GB, free: 12.87 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 69.66 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2181, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002343/0.2205, allocations: 1.29 MB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2217, allocations: 0.7677 MB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.2217, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.2218, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.2218, allocations: 7.938 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.2223, allocations: 171.2 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.724e-05/0.2224, allocations: 19.88 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.2224, allocations: 15.97 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.2225, allocations: 11.94 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.2226, allocations: 4 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.697e-06/0.2226, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.223, allocations: 287.5 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.223, allocations: 4 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.223, allocations: 19.91 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.2233, allocations: 168 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2233, allocations: 4 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2233, allocations: 0 / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2234, allocations: 0 / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004253/0.2238, allocations: 367.4 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2238, allocations: 8.031 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.2239, allocations: 30.75 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.2241, allocations: 24.81 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2243, allocations: 168.3 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2243, allocations: 12.31 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.2243, allocations: 384 / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.2244, allocations: 46.23 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.2244, allocations: 11.88 kB / 0.7868 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2244, allocations: 4 kB / 0.7868 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.2245, allocations: 0 / 0.7868 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.989e-05/0.2245, allocations: 23.98 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.2247, allocations: 161.7 kB / 0.787 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.2248, allocations: 70.55 kB / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.2249, allocations: 24.86 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.2249, allocations: 0 / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.2249, allocations: 34.56 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.2249, allocations: 0 / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0001911/0.2251, allocations: 77.61 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2252, allocations: 55.41 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.88e-05/0.2252, allocations: 97.86 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2253, allocations: 25.7 kB / 0.7874 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.2253, allocations: 85.14 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.2253, allocations: 27.64 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.2254, allocations: 13.72 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2255, allocations: 314.8 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.2255, allocations: 15.98 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.2255, allocations: 12.12 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.066e-05/0.2256, allocations: 32.86 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2256, allocations: 0 / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.305e-05/0.2257, allocations: 61.69 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2257, allocations: 11.92 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2257, allocations: 0 / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2258, allocations: 0 / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.2259, allocations: 15.94 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2259, allocations: 0 / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.226, allocations: 7.906 kB / 0.7879 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.226, allocations: 11.98 kB / 0.7879 GB, free: 8.586 MB / 0.6075 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 (6): * Single equations (assignments): 6 * 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 0.0001136/0.2261, allocations: 106.5 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.2261, allocations: 8.375 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.2263, allocations: 89.56 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2263, allocations: 0 / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.2264, allocations: 4 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2264, allocations: 7.875 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.2265, allocations: 165.7 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2265, allocations: 4 kB / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.244e-05/0.2266, allocations: 19.94 kB / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2266, allocations: 3.938 kB / 0.7883 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2266, allocations: 0 / 0.7883 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.2266, allocations: 3.984 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2266, allocations: 0 / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.2268, allocations: 97.03 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.2268, allocations: 81.09 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.2269, allocations: 11.94 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.2269, allocations: 0 / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.2269, allocations: 7.938 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.227, allocations: 0 / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.227, allocations: 75.28 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.227, allocations: 0 / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001896/0.2272, allocations: 12.09 kB / 0.7886 GB, free: 7.797 MB / 0.6075 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 (7): * Single equations (assignments): 7 * 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.0003834/0.2276, allocations: 0.6423 MB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.2277, allocations: 35.92 kB / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2277, allocations: 0 / 0.7893 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.2278, allocations: 27.98 kB / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.228, allocations: 11.94 kB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.2284, allocations: 172 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.2287, allocations: 0.6807 MB / 0.7901 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.734e-05/0.2287, allocations: 7.984 kB / 0.7901 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.2288, allocations: 19.42 kB / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.2288, allocations: 0 / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.2471, allocations: 1.401 MB / 0.7915 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.296, allocations: 14.95 kB / 0.7915 GB, free: 4.824 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)