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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.54/1.54, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001373, allocations: 196.3 kB / 376.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.1 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 94.02 kB / 0.748 GB, free: 61.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009793/0.0009795, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2553, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.003088/0.2585, allocations: 1.346 MB / 0.9835 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.2602, allocations: 0.9481 MB / 0.9845 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.2603, allocations: 4 kB / 0.9845 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.2603, allocations: 3.938 kB / 0.9845 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.248e-05/0.2604, allocations: 7.984 kB / 0.9845 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007333/0.2611, allocations: 143.6 kB / 0.9846 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.412e-05/0.2612, allocations: 19.88 kB / 0.9846 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.2612, allocations: 0 / 0.9846 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.924e-05/0.2613, allocations: 15.91 kB / 0.9846 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.2614, allocations: 4 kB / 0.9846 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.2614, allocations: 0 / 0.9846 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.2618, allocations: 203.8 kB / 0.9848 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.2618, allocations: 0 / 0.9848 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.2619, allocations: 11.88 kB / 0.9848 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.2622, allocations: 148 kB / 0.985 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2622, allocations: 0 / 0.985 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2622, allocations: 3.938 kB / 0.985 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2623, allocations: 0 / 0.985 GB, free: 7.516 MB / 0.7136 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.0004549/0.2627, allocations: 355.5 kB / 0.9853 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2628, allocations: 8.031 kB / 0.9853 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.2629, allocations: 16.92 kB / 0.9854 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2631, allocations: 168.3 kB / 0.9855 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2631, allocations: 384 / 0.9855 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.2631, allocations: 8.125 kB / 0.9855 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.2632, allocations: 41.69 kB / 0.9856 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2633, allocations: 0 / 0.9856 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2633, allocations: 0 / 0.9856 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2633, allocations: 4 kB / 0.9856 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.182e-05/0.2634, allocations: 15.98 kB / 0.9856 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.2635, allocations: 157.7 kB / 0.9857 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008806/0.2644, allocations: 130.5 kB / 0.9859 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.2645, allocations: 28.78 kB / 0.9859 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.2646, allocations: 81.11 kB / 0.986 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.2646, allocations: 34.56 kB / 0.986 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2646, allocations: 0 / 0.986 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001798/0.2648, allocations: 61.67 kB / 0.9861 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.2649, allocations: 59.34 kB / 0.9861 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.998e-05/0.2649, allocations: 93.86 kB / 0.9862 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.2649, allocations: 25.7 kB / 0.9862 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.265, allocations: 80.14 kB / 0.9863 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.265, allocations: 19.88 kB / 0.9863 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.2651, allocations: 21.7 kB / 0.9863 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2652, allocations: 314.8 kB / 0.9866 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.2652, allocations: 8 kB / 0.9866 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/0.2652, allocations: 4 kB / 0.9867 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.545e-05/0.2653, allocations: 33.11 kB / 0.9867 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2653, allocations: 0 / 0.9867 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.49e-05/0.2654, allocations: 65.56 kB / 0.9867 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2654, allocations: 4 kB / 0.9868 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.2654, allocations: 4 kB / 0.9868 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2655, allocations: 0 / 0.9868 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/0.2655, allocations: 8 kB / 0.9868 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2655, allocations: 0 / 0.9868 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.2656, allocations: 4 kB / 0.9868 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2656, allocations: 7.984 kB / 0.9868 GB, free: 5.449 MB / 0.7136 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 7.388e-05/0.2657, allocations: 109.8 kB / 0.9869 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.2657, allocations: 7.844 kB / 0.9869 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.2659, allocations: 81.17 kB / 0.987 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.266, allocations: 3.938 kB / 0.987 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.266, allocations: 0 / 0.987 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.266, allocations: 0 / 0.987 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.2661, allocations: 161.6 kB / 0.9871 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2661, allocations: 0 / 0.9871 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.2662, allocations: 15.98 kB / 0.9871 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2662, allocations: 0 / 0.9871 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2662, allocations: 0 / 0.9871 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2662, allocations: 0 / 0.9871 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2662, allocations: 0 / 0.9871 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.2666, allocations: 0.6435 MB / 0.9878 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.2666, allocations: 81.05 kB / 0.9878 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.2667, allocations: 12 kB / 0.9879 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.448e-05/0.2667, allocations: 0 / 0.9879 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.2667, allocations: 3.984 kB / 0.9879 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.2667, allocations: 4.125 kB / 0.9879 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.2668, allocations: 79.22 kB / 0.9879 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2668, allocations: 0 / 0.9879 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003405/0.2671, allocations: 48 kB / 0.988 GB, free: 4.066 MB / 0.7136 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.0003514/0.2675, allocations: 171.5 kB / 0.9881 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.2676, allocations: 27.94 kB / 0.9882 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2676, allocations: 0 / 0.9882 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.98e-05/0.2676, allocations: 19.98 kB / 0.9882 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.2678, allocations: 11.94 kB / 0.9882 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.2682, allocations: 239.2 kB / 0.9884 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.2685, allocations: 0.6848 MB / 0.9891 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.353e-05/0.2686, allocations: 7.984 kB / 0.9891 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.2686, allocations: 15.44 kB / 0.9891 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.2686, allocations: 0 / 0.9891 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of Templates: time 0.003298/0.2719, allocations: 1.052 MB / 0.9901 GB, free: 1.781 MB / 0.7136 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)