Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001472/0.001473, allocations: 104.1 kB / 15.98 MB, free: 6.352 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.001703/0.001703, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.439/1.439, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.739/1.739, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.00146/0.00146, allocations: 76.17 kB / 0.6717 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2716, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002569/0.2742, allocations: 1.333 MB / 0.7848 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.2757, allocations: 0.914 MB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.2757, allocations: 4 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.2758, allocations: 0 / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.2758, allocations: 0 / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.2765, allocations: 182.8 kB / 0.7859 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.818e-05/0.2765, allocations: 11.94 kB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.2766, allocations: 4 kB / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/0.2766, allocations: 8 kB / 0.7859 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.2767, allocations: 15.92 kB / 0.7859 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.2767, allocations: 0 / 0.7859 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.277, allocations: 194.8 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.277, allocations: 4 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.277, allocations: 11.98 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.2772, allocations: 103.8 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2772, allocations: 0 / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2772, allocations: 0 / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.2772, allocations: 0 / 0.7862 GB, free: 11.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004339/0.2777, allocations: 351.5 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2777, allocations: 12.03 kB / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.2779, allocations: 12.83 kB / 0.7866 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.278, allocations: 172.3 kB / 0.7868 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2781, allocations: 384 / 0.7868 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.2781, allocations: 4.125 kB / 0.7868 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.2782, allocations: 49.61 kB / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2782, allocations: 0 / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.2782, allocations: 0 / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2783, allocations: 0 / 0.7868 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.432e-05/0.2783, allocations: 23.98 kB / 0.7868 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.2785, allocations: 149.7 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009427/0.2795, allocations: 142.5 kB / 0.7871 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.2795, allocations: 20.8 kB / 0.7871 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.2796, allocations: 85.11 kB / 0.7872 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.2797, allocations: 34.55 kB / 0.7872 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.2797, allocations: 0 / 0.7872 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001897/0.2799, allocations: 61.69 kB / 0.7873 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.2799, allocations: 59.34 kB / 0.7874 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.28, allocations: 93.8 kB / 0.7874 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.28, allocations: 25.7 kB / 0.7875 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.28, allocations: 84.27 kB / 0.7876 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.2801, allocations: 19.8 kB / 0.7876 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.2801, allocations: 9.719 kB / 0.7876 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.2802, allocations: 314.8 kB / 0.7879 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.2803, allocations: 12 kB / 0.7879 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.2803, allocations: 11.98 kB / 0.7879 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.402e-05/0.2804, allocations: 24.86 kB / 0.7879 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2804, allocations: 0 / 0.7879 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.468e-05/0.2805, allocations: 61.62 kB / 0.788 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2805, allocations: 7.938 kB / 0.788 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2805, allocations: 0 / 0.788 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2805, allocations: 0 / 0.788 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.2806, allocations: 11.98 kB / 0.788 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.2806, allocations: 0 / 0.788 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.128e-05/0.2807, allocations: 3.938 kB / 0.788 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.2807, allocations: 0 / 0.788 GB, free: 9.031 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 (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 9.641e-05/0.2808, allocations: 110.5 kB / 0.7881 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.2808, allocations: 3.938 kB / 0.7881 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.2811, allocations: 81.17 kB / 0.7882 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2811, allocations: 0 / 0.7882 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2811, allocations: 0 / 0.7882 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2811, allocations: 7.922 kB / 0.7882 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.2812, allocations: 177.4 kB / 0.7884 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2812, allocations: 0 / 0.7884 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.2813, allocations: 4 kB / 0.7884 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2813, allocations: 4 kB / 0.7884 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2813, allocations: 4 kB / 0.7884 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2813, allocations: 0 / 0.7884 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2813, allocations: 0 / 0.7884 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.2815, allocations: 85.06 kB / 0.7885 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.2815, allocations: 85.09 kB / 0.7885 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2816, allocations: 4.125 kB / 0.7885 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.419e-05/0.2816, allocations: 4 kB / 0.7886 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.2816, allocations: 8.266 kB / 0.7886 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2817, allocations: 0 / 0.7886 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.2817, allocations: 83.22 kB / 0.7886 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2817, allocations: 0 / 0.7886 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002684/0.282, allocations: 47.98 kB / 0.7887 GB, free: 8.227 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 (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.0003802/0.2824, allocations: 166.2 kB / 0.7888 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.2825, allocations: 31.98 kB / 0.7889 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2825, allocations: 4 kB / 0.7889 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.764e-05/0.2825, allocations: 15.94 kB / 0.7889 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.2827, allocations: 11.92 kB / 0.7889 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.2832, allocations: 162.8 kB / 0.7891 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.2836, allocations: 0.6729 MB / 0.7897 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.2836, allocations: 19.42 kB / 0.7897 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2836, allocations: 0 / 0.7897 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.002954/0.2866, allocations: 1.034 MB / 0.7907 GB, free: 6.059 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)