Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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_TDewPoi_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="BuildingSystems_BuildingSystems_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.00763/0.00763, allocations: 105.4 kB / 15.74 MB, free: 6.023 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.001859/0.001859, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 293.3 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.221/1.221, allocations: 178.6 MB / 0.5074 GB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 99.83 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4743, allocations: 89.13 MB / 0.7813 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002004/0.4764, allocations: 1.286 MB / 0.7826 GB, free: 148 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.4776, allocations: 0.7636 MB / 0.7833 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.4776, allocations: 0 / 0.7833 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.4777, allocations: 3.984 kB / 0.7833 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.4777, allocations: 5.531 kB / 0.7834 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.4782, allocations: 169.2 kB / 0.7835 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.4783, allocations: 18.75 kB / 0.7835 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.4783, allocations: 6.891 kB / 0.7835 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.4784, allocations: 17.2 kB / 0.7836 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.4784, allocations: 3.875 kB / 0.7836 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.4785, allocations: 1.406 kB / 0.7836 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.4789, allocations: 290.2 kB / 0.7838 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.4789, allocations: 5.656 kB / 0.7838 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.479, allocations: 11.86 kB / 0.7839 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.4793, allocations: 174 kB / 0.784 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4793, allocations: 1.781 kB / 0.784 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4793, allocations: 3.938 kB / 0.784 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.4793, allocations: 0 / 0.784 GB, free: 15.12 MB / 0.5606 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.0004641/0.4798, allocations: 379.4 kB / 0.7844 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.4798, allocations: 8.562 kB / 0.7844 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.4799, allocations: 32.5 kB / 0.7844 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.4801, allocations: 25.88 kB / 0.7845 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.4802, allocations: 161.5 kB / 0.7846 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4803, allocations: 1.531 kB / 0.7846 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.4803, allocations: 6.688 kB / 0.7846 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.4804, allocations: 48.39 kB / 0.7847 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4804, allocations: 3.938 kB / 0.7847 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4805, allocations: 0 / 0.7847 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.4805, allocations: 5.125 kB / 0.7847 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.787e-05/0.4805, allocations: 25.33 kB / 0.7847 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.4807, allocations: 164.2 kB / 0.7849 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.4809, allocations: 59.5 kB / 0.7849 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.4809, allocations: 27.45 kB / 0.7849 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.481, allocations: 1.312 kB / 0.7849 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.481, allocations: 31.94 kB / 0.785 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.481, allocations: 0 / 0.785 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002034/0.4812, allocations: 93.72 kB / 0.7851 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.4813, allocations: 51.41 kB / 0.7851 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.817e-05/0.4813, allocations: 90.95 kB / 0.7852 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.4814, allocations: 30.83 kB / 0.7852 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.4814, allocations: 80.14 kB / 0.7853 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.4815, allocations: 18.42 kB / 0.7853 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.4815, allocations: 22.73 kB / 0.7853 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4816, allocations: 316.4 kB / 0.7856 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.4817, allocations: 12.86 kB / 0.7856 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.4817, allocations: 11.5 kB / 0.7857 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.598e-05/0.4818, allocations: 32.58 kB / 0.7857 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4818, allocations: 0 / 0.7857 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001069/0.4819, allocations: 70.42 kB / 0.7858 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4819, allocations: 9.156 kB / 0.7858 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4819, allocations: 1.281 kB / 0.7858 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.4819, allocations: 3.984 kB / 0.7858 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4821, allocations: 15.22 kB / 0.7858 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4821, allocations: 1.125 kB / 0.7858 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.4821, allocations: 9.156 kB / 0.7858 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.4821, allocations: 2 kB / 0.7858 GB, free: 13.29 MB / 0.5606 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 8.046e-05/0.4822, allocations: 111.2 kB / 0.7859 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.4823, allocations: 9.922 kB / 0.7859 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.4825, allocations: 98.89 kB / 0.786 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4825, allocations: 1.094 kB / 0.786 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4825, allocations: 0 / 0.786 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.4825, allocations: 5.062 kB / 0.786 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.4826, allocations: 161.4 kB / 0.7862 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4826, allocations: 3.984 kB / 0.7862 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/0.4827, allocations: 13.75 kB / 0.7862 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.4827, allocations: 3.938 kB / 0.7862 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.4828, allocations: 5.281 kB / 0.7862 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4828, allocations: 80 / 0.7862 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4828, allocations: 3.984 kB / 0.7862 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.4829, allocations: 99.14 kB / 0.7863 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.008e-05/0.483, allocations: 83.81 kB / 0.7864 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.483, allocations: 13.27 kB / 0.7864 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/0.4831, allocations: 1.625 kB / 0.7864 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.4831, allocations: 1.438 kB / 0.7864 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.4831, allocations: 1.531 kB / 0.7864 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.4831, allocations: 80.44 kB / 0.7865 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4832, allocations: 0 / 0.7865 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001859/0.4833, allocations: 12.28 kB / 0.7865 GB, free: 12.59 MB / 0.5606 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.0004328/0.4838, allocations: 0.6374 MB / 0.7871 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.4839, allocations: 34.58 kB / 0.7871 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4839, allocations: 96 / 0.7871 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.484, allocations: 30.11 kB / 0.7872 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.4842, allocations: 11.38 kB / 0.7872 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.4847, allocations: 165.9 kB / 0.7873 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.4849, allocations: 0.6787 MB / 0.788 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.108e-05/0.485, allocations: 12.02 kB / 0.788 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.4851, allocations: 13.53 kB / 0.788 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4851, allocations: 0 / 0.788 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.5067, allocations: 1.443 MB / 0.7894 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/8.333, allocations: 20.52 kB / 0.7894 GB, free: 10.3 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)