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.001171/0.001177, allocations: 103.1 kB / 16.29 MB, free: 6.43 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.001167/0.001167, allocations: 185.1 kB / 17.22 MB, free: 5.934 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.235/1.235, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.642/1.642, allocations: 292.3 MB / 0.5495 GB, free: 17.67 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.001283/0.001283, allocations: 67.91 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2069, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002065/0.209, allocations: 1.259 MB / 0.7853 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2103, allocations: 0.9168 MB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.2103, allocations: 3.938 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.2103, allocations: 3.938 kB / 0.7862 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.527e-05/0.2104, allocations: 7.938 kB / 0.7862 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.2109, allocations: 202.7 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.77e-05/0.211, allocations: 15.92 kB / 0.7864 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.211, allocations: 8 kB / 0.7864 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.824e-05/0.2111, allocations: 4 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.2111, allocations: 15.91 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.2111, allocations: 0 / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.2115, allocations: 235.7 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.2115, allocations: 0 / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.2115, allocations: 8 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.2118, allocations: 151.7 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.2118, allocations: 0 / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2118, allocations: 0 / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2118, allocations: 0 / 0.7868 GB, free: 1.004 MB / 0.6544 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.0003557/0.2121, allocations: 355.5 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.2122, allocations: 8.031 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.2123, allocations: 12.92 kB / 0.7872 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.952e-05/0.2124, allocations: 172.3 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.2125, allocations: 4.375 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.2125, allocations: 8.125 kB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.489e-05/0.2126, allocations: 37.69 kB / 0.7874 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.2126, allocations: 0 / 0.7874 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2126, allocations: 4 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.2126, allocations: 3.938 kB / 0.7874 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.344e-05/0.2127, allocations: 15.98 kB / 0.7874 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.2128, allocations: 157.6 kB / 0.7876 GB, free: 104 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3211/0.5339, allocations: 134.9 kB / 0.7877 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.5339, allocations: 19.95 kB / 0.7877 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.5341, allocations: 86.25 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.5341, allocations: 36.56 kB / 0.7878 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.5341, allocations: 1.219 kB / 0.7878 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.000186/0.5343, allocations: 59.7 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.5343, allocations: 54.28 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.67e-05/0.5344, allocations: 93.42 kB / 0.788 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.5344, allocations: 28.14 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.013e-05/0.5344, allocations: 82.83 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.5344, allocations: 9.562 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.5345, allocations: 20.09 kB / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.785e-05/0.5345, allocations: 310.8 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.5345, allocations: 13.12 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.5346, allocations: 9.094 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/0.5346, allocations: 27.92 kB / 0.7885 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5346, allocations: 0 / 0.7885 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.276e-05/0.5347, allocations: 60.27 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.5347, allocations: 2.906 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5347, allocations: 5.219 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5347, allocations: 0 / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.5348, allocations: 7.891 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.5348, allocations: 1.219 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.5348, allocations: 8.266 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.5349, allocations: 5.781 kB / 0.7886 GB, free: 47.98 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 (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 4.424e-05/0.5349, allocations: 115.6 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.5349, allocations: 2.938 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.5351, allocations: 79.28 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5352, allocations: 3.875 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5352, allocations: 3.828 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5352, allocations: 4.719 kB / 0.7888 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.234e-05/0.5353, allocations: 162.5 kB / 0.789 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5353, allocations: 4.625 kB / 0.789 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.5353, allocations: 5.406 kB / 0.789 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5353, allocations: 2.812 kB / 0.789 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.5353, allocations: 0 / 0.789 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5353, allocations: 0 / 0.789 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5353, allocations: 0.9688 kB / 0.789 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.977e-05/0.5354, allocations: 99.53 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.5355, allocations: 81.02 kB / 0.7891 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.5355, allocations: 0 / 0.7891 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.656e-05/0.5355, allocations: 8.359 kB / 0.7892 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.5356, allocations: 3.062 kB / 0.7892 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.5356, allocations: 2.875 kB / 0.7892 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.527e-05/0.5356, allocations: 78 kB / 0.7892 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5356, allocations: 0 / 0.7892 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002303/0.5358, allocations: 50.25 kB / 0.7893 GB, free: 47.39 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 (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.0002854/0.5361, allocations: 156.8 kB / 0.7894 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.911e-05/0.5362, allocations: 32.06 kB / 0.7895 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5362, allocations: 0 / 0.7895 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.228e-05/0.5363, allocations: 18.02 kB / 0.7895 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.5364, allocations: 9.312 kB / 0.7895 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.5367, allocations: 116.5 kB / 0.7896 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.225e-05/0.5368, allocations: 0.6781 MB / 0.7903 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.525e-05/0.5368, allocations: 13.56 kB / 0.7903 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.5369, allocations: 11 kB / 0.7903 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.5369, allocations: 0 / 0.7903 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.002757/0.5396, allocations: 1.068 MB / 0.7913 GB, free: 46.5 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)