Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_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_1.6_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.008677/0.008677, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001401/0.001401, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.728/1.728, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6718/0.6718, allocations: 95.47 MB / 365.4 MB, free: 9.773 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 75.91 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2056, allocations: 69.09 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002653/0.2083, allocations: 1.26 MB / 0.5723 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.2111, allocations: 1.976 MB / 0.5742 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.2112, allocations: 0 / 0.5742 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.2113, allocations: 3.938 kB / 0.5743 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.2113, allocations: 0 / 0.5743 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008405/0.2122, allocations: 238.6 kB / 0.5745 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.614e-05/0.2122, allocations: 11.94 kB / 0.5745 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.2123, allocations: 11.98 kB / 0.5745 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.591e-05/0.2123, allocations: 7.984 kB / 0.5745 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.2124, allocations: 11.94 kB / 0.5745 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.2124, allocations: 0 / 0.5745 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.2129, allocations: 263.6 kB / 0.5748 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.2129, allocations: 4 kB / 0.5748 GB, free: 4.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.2129, allocations: 7.938 kB / 0.5748 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.2133, allocations: 155.8 kB / 0.5749 GB, free: 4.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2133, allocations: 0 / 0.5749 GB, free: 4.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2133, allocations: 0 / 0.5749 GB, free: 4.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.2133, allocations: 0 / 0.5749 GB, free: 4.34 MB / 446.1 MB 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.0006114/0.2139, allocations: 371.4 kB / 0.5753 GB, free: 3.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.214, allocations: 15.98 kB / 0.5753 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.2142, allocations: 4.938 kB / 0.5753 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.2144, allocations: 168.3 kB / 0.5755 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.2144, allocations: 384 / 0.5755 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.2144, allocations: 384 / 0.5755 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.2146, allocations: 46 kB / 0.5755 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2146, allocations: 3.984 kB / 0.5755 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.2146, allocations: 8 kB / 0.5755 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.2146, allocations: 4 kB / 0.5755 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.22e-05/0.2147, allocations: 15.98 kB / 0.5755 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.2149, allocations: 157.7 kB / 0.5757 GB, free: 3.422 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009927/0.2159, allocations: 130.4 kB / 0.5758 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.216, allocations: 20.92 kB / 0.5758 GB, free: 3.262 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.2162, allocations: 85.09 kB / 0.5759 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2162, allocations: 38.5 kB / 0.576 GB, free: 3.113 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.2162, allocations: 0 / 0.576 GB, free: 3.113 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002783/0.2165, allocations: 61.59 kB / 0.576 GB, free: 3.047 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.2166, allocations: 59.28 kB / 0.5761 GB, free: 2.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2167, allocations: 97.86 kB / 0.5762 GB, free: 2.871 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.2167, allocations: 29.7 kB / 0.5762 GB, free: 2.836 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.2168, allocations: 84.12 kB / 0.5763 GB, free: 2.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.2168, allocations: 11.84 kB / 0.5763 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.2169, allocations: 13.72 kB / 0.5763 GB, free: 2.719 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.2171, allocations: 314.8 kB / 0.5766 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.2171, allocations: 7.984 kB / 0.5766 GB, free: 2.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.2172, allocations: 8 kB / 0.5766 GB, free: 2.387 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.507e-05/0.2172, allocations: 28.98 kB / 0.5766 GB, free: 2.355 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.2173, allocations: 0 / 0.5766 GB, free: 2.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001173/0.2174, allocations: 57.53 kB / 0.5767 GB, free: 2.293 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.2174, allocations: 19.86 kB / 0.5767 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2174, allocations: 0 / 0.5767 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.2175, allocations: 0 / 0.5767 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.2175, allocations: 4 kB / 0.5767 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.2175, allocations: 0 / 0.5767 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/0.2176, allocations: 4 kB / 0.5767 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.2176, allocations: 0 / 0.5767 GB, free: 2.266 MB / 446.1 MB 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 0.00011/0.2177, allocations: 113.8 kB / 0.5768 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.2177, allocations: 7.938 kB / 0.5768 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.2179, allocations: 65.17 kB / 0.5769 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.2179, allocations: 4 kB / 0.5769 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.218, allocations: 0 / 0.5769 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.218, allocations: 3.938 kB / 0.5769 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.2181, allocations: 162 kB / 0.5771 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2181, allocations: 0 / 0.5771 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.2182, allocations: 11.98 kB / 0.5771 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2182, allocations: 3.938 kB / 0.5771 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2182, allocations: 4 kB / 0.5771 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2182, allocations: 4 kB / 0.5771 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2182, allocations: 0 / 0.5771 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.2184, allocations: 93.08 kB / 0.5772 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.2185, allocations: 89.03 kB / 0.5773 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.2185, allocations: 0 / 0.5773 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.051e-05/0.2186, allocations: 4 kB / 0.5773 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.2186, allocations: 0 / 0.5773 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2186, allocations: 0 / 0.5773 GB, free: 1.605 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.488e-05/0.2187, allocations: 83.22 kB / 0.5773 GB, free: 1.523 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2187, allocations: 0 / 0.5773 GB, free: 1.523 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.219, allocations: 55.98 kB / 0.5774 GB, free: 1.469 MB / 446.1 MB 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.0006839/0.2196, allocations: 198.8 kB / 0.5776 GB, free: 1.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.2198, allocations: 27.98 kB / 0.5776 GB, free: 1.242 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.2198, allocations: 4 kB / 0.5776 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.801e-05/0.2198, allocations: 15.94 kB / 0.5776 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.22, allocations: 4 kB / 0.5776 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.2205, allocations: 114.7 kB / 0.5777 GB, free: 1.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.2208, allocations: 0.6729 MB / 0.5784 GB, free: 392 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.313e-05/0.2209, allocations: 11.98 kB / 0.5784 GB, free: 380 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.2209, allocations: 11.44 kB / 0.5784 GB, free: 368 kB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2209, allocations: 0 / 0.5784 GB, free: 368 kB / 446.1 MB Notification: Performance of Templates: time 0.004072/0.225, allocations: 1.257 MB / 0.5796 GB, free: 15.11 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)