Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.642/1.642, allocations: 288.4 MB / 303.4 MB, free: 8.172 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.001144/0.001144, allocations: 190.2 kB / 372 MB, free: 10.26 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.846/1.846, allocations: 205.4 MB / 0.6307 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 99.47 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.0005107, allocations: 12.12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2429, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001305/0.2443, allocations: 0.9901 MB / 0.9805 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2455, allocations: 0.852 MB / 0.9814 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.2455, allocations: 0 / 0.9814 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.2456, allocations: 0 / 0.9814 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.2456, allocations: 15.86 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.2462, allocations: 153.6 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.625e-05/0.2463, allocations: 15.94 kB / 0.9816 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.2463, allocations: 3.984 kB / 0.9816 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.457e-05/0.2464, allocations: 11.92 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.2464, allocations: 4 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.2464, allocations: 0 / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.2467, allocations: 176.4 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.477e-06/0.2467, allocations: 0 / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.2468, allocations: 33.64 kB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.2469, allocations: 108.1 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.247, allocations: 0 / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.247, allocations: 0 / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.247, allocations: 0 / 0.9819 GB, free: 25.29 MB / 0.6198 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.0003617/0.2473, allocations: 351.9 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2474, allocations: 8.031 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.2476, allocations: 15.84 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.082e-05/0.2476, allocations: 159.1 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2477, allocations: 8 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.2477, allocations: 7.922 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.2478, allocations: 41.69 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2478, allocations: 0 / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2478, allocations: 0 / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.2479, allocations: 3.984 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.106e-05/0.2479, allocations: 19.92 kB / 0.9825 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.248, allocations: 161.7 kB / 0.9826 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/0.2489, allocations: 118.6 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.249, allocations: 24.84 kB / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.2491, allocations: 85.11 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.2491, allocations: 30.56 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.2491, allocations: 0 / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001697/0.2493, allocations: 69.61 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.2493, allocations: 51.41 kB / 0.983 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.332e-05/0.2494, allocations: 89.86 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.2494, allocations: 33.83 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.465e-05/0.2494, allocations: 80.14 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.2494, allocations: 15.75 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.2495, allocations: 0 / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.2495, allocations: 318.8 kB / 0.9835 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.2495, allocations: 8 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/0.2496, allocations: 8 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.2496, allocations: 8 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2496, allocations: 7.922 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.332e-05/0.2497, allocations: 61.62 kB / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2497, allocations: 4 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2497, allocations: 0 / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2497, allocations: 0 / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.654e-05/0.2498, allocations: 8 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.2498, allocations: 4 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.2498, allocations: 0 / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2499, allocations: 4 kB / 0.9836 GB, free: 23.29 MB / 0.6198 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 5.45e-05/0.2499, allocations: 117.7 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-06/0.2499, allocations: 4 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.2502, allocations: 81.09 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2502, allocations: 0 / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2502, allocations: 0 / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2502, allocations: 0 / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.198e-05/0.2503, allocations: 177.5 kB / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2503, allocations: 0 / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-05/0.2504, allocations: 4 kB / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2504, allocations: 4 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.2504, allocations: 0 / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2504, allocations: 3.984 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2504, allocations: 0 / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.988e-05/0.2505, allocations: 89.34 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.2505, allocations: 89.03 kB / 0.9842 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.2506, allocations: 4 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.007e-05/0.2506, allocations: 4 kB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.2506, allocations: 7.969 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.2507, allocations: 4 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.014e-05/0.2507, allocations: 75.28 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2507, allocations: 0 / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002534/0.2509, allocations: 44 kB / 0.9843 GB, free: 22.49 MB / 0.6198 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.0003661/0.2513, allocations: 171.4 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.2514, allocations: 31.98 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2514, allocations: 0 / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.2515, allocations: 19.94 kB / 0.9845 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.2517, allocations: 13.44 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.252, allocations: 138.7 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.2521, allocations: 0.6848 MB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.351e-05/0.2522, allocations: 4 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.2522, allocations: 19.42 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.2522, allocations: 0 / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.003397/0.2556, allocations: 1.015 MB / 0.9863 GB, free: 20.36 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)