Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001534/0.001534, allocations: 194.2 kB / 16.14 MB, free: 6.664 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001954/0.001954, allocations: 290.6 kB / 290.2 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9328/0.9328, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 92.44 kB / 0.5945 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1944, allocations: 86.98 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002233/0.1967, allocations: 1.332 MB / 0.6807 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1981, allocations: 0.9 MB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.338e-05/0.1981, allocations: 0 / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.1981, allocations: 1.625 kB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.217e-05/0.1982, allocations: 0 / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.1987, allocations: 157.3 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.273e-05/0.1987, allocations: 11.94 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.1988, allocations: 4 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.1988, allocations: 15.92 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.296e-05/0.1989, allocations: 7.984 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.1989, allocations: 0 / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.1992, allocations: 189.5 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.749e-06/0.1992, allocations: 0 / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.1992, allocations: 16.8 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.1995, allocations: 159.9 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1995, allocations: 0.5312 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1995, allocations: 5 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1995, allocations: 0 / 0.6822 GB, free: 14.39 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.0004513/0.2, allocations: 348.7 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2, allocations: 12.03 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.2002, allocations: 4.938 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.704e-05/0.2003, allocations: 168.4 kB / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.2003, allocations: 384 / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.2004, allocations: 12.06 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.2005, allocations: 41.69 kB / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2005, allocations: 0 / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2005, allocations: 0 / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2005, allocations: 0 / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.334e-05/0.2006, allocations: 23.91 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.2008, allocations: 169.5 kB / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009603/0.2017, allocations: 126.6 kB / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.2018, allocations: 20.8 kB / 0.6831 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.2019, allocations: 89.09 kB / 0.6831 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2019, allocations: 38.56 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2019, allocations: 0 / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002597/0.2022, allocations: 61.62 kB / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.2023, allocations: 51.41 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.2023, allocations: 97.78 kB / 0.6834 GB, free: 12.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.2023, allocations: 33.7 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.2024, allocations: 80.14 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.2024, allocations: 7.938 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.2025, allocations: 21.72 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2026, allocations: 310.8 kB / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.2026, allocations: 11.98 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.2026, allocations: 8 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.367e-05/0.2027, allocations: 24.84 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2027, allocations: 4 kB / 0.6839 GB, free: 12.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.004e-05/0.2028, allocations: 61.56 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2028, allocations: 8 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2028, allocations: 4 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2029, allocations: 0 / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.2029, allocations: 4 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2029, allocations: 0 / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.203, allocations: 4 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.203, allocations: 0 / 0.6839 GB, free: 12.34 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.227e-05/0.2031, allocations: 111.2 kB / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.2031, allocations: 11.92 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.2033, allocations: 81.09 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2034, allocations: 0 / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2034, allocations: 4 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2034, allocations: 0 / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.2035, allocations: 173.5 kB / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2035, allocations: 0 / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/0.2036, allocations: 12 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2036, allocations: 0 / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.2036, allocations: 3.938 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2036, allocations: 0 / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2036, allocations: 4 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.2037, allocations: 97.22 kB / 0.6844 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.2038, allocations: 77.11 kB / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.2038, allocations: 0 / 0.6845 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.2039, allocations: 12 kB / 0.6845 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.2039, allocations: 11.91 kB / 0.6845 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.2039, allocations: 8.125 kB / 0.6845 GB, free: 11.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.387e-05/0.2039, allocations: 75.28 kB / 0.6846 GB, free: 11.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2039, allocations: 0 / 0.6846 GB, free: 11.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.2042, allocations: 40 kB / 0.6846 GB, free: 11.52 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 (5): * Single equations (assignments): 5 * 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.0003607/0.2046, allocations: 169.8 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2047, allocations: 27.98 kB / 0.6848 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2047, allocations: 0 / 0.6848 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.208e-05/0.2047, allocations: 23.92 kB / 0.6848 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.2049, allocations: 7.938 kB / 0.6848 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.2053, allocations: 128.4 kB / 0.685 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.2055, allocations: 0.6809 MB / 0.6856 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.274e-05/0.2056, allocations: 8 kB / 0.6856 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.2056, allocations: 11.44 kB / 0.6856 GB, free: 10.42 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2056, allocations: 0 / 0.6856 GB, free: 10.42 MB / 494.1 MB Notification: Performance of Templates: time 0.003062/0.2087, allocations: 1.041 MB / 0.6867 GB, free: 9.387 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)