Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 106.2 kB / 16.37 MB, free: 6.477 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.001055/0.001056, allocations: 184.4 kB / 17.3 MB, free: 5.824 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.679/1.679, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.816/1.816, allocations: 292.3 MB / 0.5496 GB, free: 17.38 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.001457/0.001457, allocations: 70.23 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2591, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002703/0.2619, allocations: 1.287 MB / 0.786 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2631, allocations: 0.7677 MB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.2631, allocations: 0 / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.2632, allocations: 3.938 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.2632, allocations: 11.97 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.2637, allocations: 167.2 kB / 0.787 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.131e-05/0.2638, allocations: 23.92 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.2639, allocations: 8 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.2639, allocations: 11.92 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.264, allocations: 4 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.264, allocations: 0 / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004948/0.2645, allocations: 287.5 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.2645, allocations: 15.86 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.2646, allocations: 4 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.2648, allocations: 175.7 kB / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2648, allocations: 0 / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2649, allocations: 3.938 kB / 0.7875 GB, free: 412 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2649, allocations: 4 kB / 0.7875 GB, free: 408 kB / 0.6544 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.4849/0.7498, allocations: 363.9 kB / 0.7878 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/0.7499, allocations: 9.875 kB / 0.7878 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003756/0.7502, allocations: 21.8 kB / 0.7879 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.7504, allocations: 163.8 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.7504, allocations: 4.531 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.7504, allocations: 3.938 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.7506, allocations: 50.73 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.7506, allocations: 1.953 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.7506, allocations: 3.938 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7506, allocations: 1.719 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.7507, allocations: 28.09 kB / 0.7881 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.7509, allocations: 158.7 kB / 0.7883 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.751, allocations: 62.59 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.751, allocations: 25.31 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.7511, allocations: 0 / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.7511, allocations: 39.36 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.7511, allocations: 0.5938 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0001959/0.7513, allocations: 75.77 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.7513, allocations: 55.09 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.881e-05/0.7514, allocations: 99.92 kB / 0.7886 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.7514, allocations: 25.7 kB / 0.7886 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.384e-05/0.7514, allocations: 80.14 kB / 0.7887 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.7515, allocations: 23.61 kB / 0.7887 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.7515, allocations: 22.23 kB / 0.7887 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.7516, allocations: 312.5 kB / 0.789 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.7516, allocations: 14.97 kB / 0.7891 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.7516, allocations: 13.27 kB / 0.7891 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.482e-05/0.7517, allocations: 32.73 kB / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7517, allocations: 0 / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.419e-05/0.7518, allocations: 69.73 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7518, allocations: 5.25 kB / 0.7892 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.7518, allocations: 3.938 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.7518, allocations: 2.625 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.752, allocations: 14.02 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.752, allocations: 0.8594 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.752, allocations: 10.2 kB / 0.7892 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.752, allocations: 0 / 0.7892 GB, free: 47.72 MB / 0.6544 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 6.079e-05/0.7521, allocations: 119.1 kB / 0.7893 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.7521, allocations: 6.531 kB / 0.7893 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.7523, allocations: 88.2 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.7523, allocations: 2.781 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7523, allocations: 3.688 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.7523, allocations: 0 / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.268e-05/0.7524, allocations: 165.4 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.7524, allocations: 4.219 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/0.7525, allocations: 10.72 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7525, allocations: 6.359 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.7525, allocations: 5.219 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7526, allocations: 1.969 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7526, allocations: 0.7031 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.7527, allocations: 96.48 kB / 0.7897 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.7527, allocations: 84.55 kB / 0.7898 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.7528, allocations: 6.562 kB / 0.7898 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.57e-05/0.7528, allocations: 7.812 kB / 0.7898 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.7529, allocations: 2.625 kB / 0.7898 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.7529, allocations: 2.625 kB / 0.7898 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.732e-05/0.7529, allocations: 76.34 kB / 0.7899 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.91e-07/0.7529, allocations: 0.5312 kB / 0.7899 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000194/0.7531, allocations: 12.5 kB / 0.7899 GB, free: 47.14 MB / 0.6544 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.0001061/0.7532, allocations: 102.6 kB / 0.79 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.7533, allocations: 41.98 kB / 0.79 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7533, allocations: 1 kB / 0.79 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.7534, allocations: 25.91 kB / 0.79 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.7536, allocations: 9.031 kB / 0.79 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.754, allocations: 162.9 kB / 0.7902 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.7541, allocations: 0.6806 MB / 0.7909 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.7542, allocations: 10.62 kB / 0.7909 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7542, allocations: 1.219 kB / 0.7909 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.001808/0.756, allocations: 0.5861 MB / 0.7915 GB, free: 46.22 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)