Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.572/1.572, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 187.3 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 0.5783 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007965/0.0007965, allocations: 88.56 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004678, allocations: 10.19 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2741, allocations: 106.3 MB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001388/0.2756, allocations: 0.9971 MB / 0.9018 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2768, allocations: 0.8639 MB / 0.9026 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.2768, allocations: 0 / 0.9026 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.2768, allocations: 0 / 0.9026 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-05/0.2769, allocations: 11.92 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.2774, allocations: 152.1 kB / 0.9028 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.906e-05/0.2775, allocations: 15.92 kB / 0.9028 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.2775, allocations: 4 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.836e-05/0.2776, allocations: 15.94 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.2776, allocations: 4 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.2777, allocations: 0 / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.2779, allocations: 174.8 kB / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-06/0.2779, allocations: 3.984 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.278, allocations: 33.64 kB / 0.903 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.2781, allocations: 103.8 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2782, allocations: 0 / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2782, allocations: 0 / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2782, allocations: 0 / 0.9031 GB, free: 61.47 MB / 0.6042 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.0003739/0.2786, allocations: 359.6 kB / 0.9035 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2786, allocations: 8.031 kB / 0.9035 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.2788, allocations: 7.984 kB / 0.9035 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.417e-05/0.2788, allocations: 163 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.2789, allocations: 4 kB / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.2789, allocations: 0 / 0.9037 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.279, allocations: 41.69 kB / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.279, allocations: 0 / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.279, allocations: 4 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2791, allocations: 0 / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.2791, allocations: 19.92 kB / 0.9037 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.2793, allocations: 157.6 kB / 0.9039 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008397/0.2801, allocations: 126.6 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.2801, allocations: 16.86 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.2803, allocations: 93.06 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2803, allocations: 34.56 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.2803, allocations: 7.938 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.000179/0.2805, allocations: 65.62 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.2805, allocations: 51.41 kB / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.2806, allocations: 97.78 kB / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2806, allocations: 25.7 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.2807, allocations: 80.14 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.2807, allocations: 19.75 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.2807, allocations: 0 / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.2808, allocations: 318.9 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.2809, allocations: 8 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.2809, allocations: 11.98 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.815e-05/0.2809, allocations: 8 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2809, allocations: 0 / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.478e-05/0.281, allocations: 57.62 kB / 0.9049 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.281, allocations: 4 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.281, allocations: 0 / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.2811, allocations: 0 / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.2811, allocations: 12 kB / 0.9049 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2811, allocations: 7.984 kB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.2812, allocations: 3.906 kB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.2812, allocations: 0 / 0.9049 GB, free: 59.46 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.727e-05/0.2813, allocations: 117.8 kB / 0.905 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.2813, allocations: 0 / 0.905 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.2816, allocations: 77.11 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2816, allocations: 4 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2816, allocations: 0 / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2816, allocations: 0 / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2818, allocations: 165.6 kB / 0.9052 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.2818, allocations: 4 kB / 0.9052 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.2818, allocations: 7.984 kB / 0.9052 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2818, allocations: 0 / 0.9052 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2819, allocations: 4 kB / 0.9052 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2819, allocations: 4 kB / 0.9052 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2819, allocations: 0 / 0.9052 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.282, allocations: 89.02 kB / 0.9053 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.2821, allocations: 84.95 kB / 0.9054 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.2821, allocations: 7.984 kB / 0.9054 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.196e-05/0.2821, allocations: 4 kB / 0.9054 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.2822, allocations: 0 / 0.9054 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.2822, allocations: 8 kB / 0.9054 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.944e-05/0.2823, allocations: 79.22 kB / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2823, allocations: 0 / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002679/0.2825, allocations: 43.98 kB / 0.9055 GB, free: 58.67 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004471/0.283, allocations: 166.4 kB / 0.9057 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.2831, allocations: 31.97 kB / 0.9057 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2831, allocations: 4.094 kB / 0.9057 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.2832, allocations: 19.94 kB / 0.9058 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.2834, allocations: 3.938 kB / 0.9058 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.2838, allocations: 166.3 kB / 0.9059 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.284, allocations: 0.6731 MB / 0.9066 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.284, allocations: 15.42 kB / 0.9066 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.284, allocations: 4 kB / 0.9066 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of Templates: time 0.003032/0.2871, allocations: 1.025 MB / 0.9076 GB, free: 56.5 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)