Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.793/1.793, allocations: 287.5 MB / 302.6 MB, free: 8.289 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.001291/0.001291, allocations: 173.1 kB / 371.2 MB, free: 10.85 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.676/1.676, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008424/0.0008425, allocations: 90.61 kB / 0.7432 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004729, allocations: 15.75 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2363, allocations: 115.3 MB / 0.9787 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001528/0.2379, allocations: 1.199 MB / 0.9798 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.239, allocations: 0.7702 MB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.239, allocations: 0 / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.239, allocations: 3.984 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.081e-05/0.2391, allocations: 3.938 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.2396, allocations: 115.5 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.2397, allocations: 43.8 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2398, allocations: 19.97 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.417e-05/0.2398, allocations: 12 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.619e-05/0.2399, allocations: 23.84 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.2399, allocations: 4 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.2403, allocations: 167.7 kB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.2403, allocations: 7.984 kB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.2403, allocations: 33.7 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.2405, allocations: 100 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2405, allocations: 0 / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2406, allocations: 4 kB / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2406, allocations: 0 / 0.9811 GB, free: 25.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005564/0.2411, allocations: 403.3 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.2412, allocations: 8.031 kB / 0.9815 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.2412, allocations: 16.78 kB / 0.9815 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2413, allocations: 168.3 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2414, allocations: 4.375 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.2414, allocations: 384 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.2416, allocations: 90.2 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2417, allocations: 192 / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.2417, allocations: 3.938 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2417, allocations: 0 / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.242, allocations: 99.8 kB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.2424, allocations: 284.7 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.2426, allocations: 70.53 kB / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.2427, allocations: 52.91 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.2429, allocations: 89.09 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.2429, allocations: 34.5 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2429, allocations: 0 / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005108/0.2434, allocations: 165.6 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.2435, allocations: 55.41 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.2436, allocations: 113.8 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.475e-06/0.2436, allocations: 25.7 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.2436, allocations: 88.14 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.2436, allocations: 15.8 kB / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/0.2436, allocations: 0 / 0.9828 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.405e-05/0.2437, allocations: 322.8 kB / 0.9831 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.2438, allocations: 43.95 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.244, allocations: 43.97 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.2442, allocations: 96.66 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2442, allocations: 4 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002775/0.2445, allocations: 117.6 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2445, allocations: 6.5 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2445, allocations: 0 / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2446, allocations: 0 / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.2447, allocations: 31.97 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2447, allocations: 0 / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.2448, allocations: 15.98 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.2448, allocations: 0 / 0.9835 GB, free: 23.06 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 (3): * Single equations (assignments): 3 * 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.757e-05/0.2449, allocations: 121.8 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.2449, allocations: 3.906 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.2452, allocations: 133.5 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2452, allocations: 4 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2453, allocations: 4 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2453, allocations: 0 / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.2454, allocations: 181.6 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2454, allocations: 0 / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-05/0.2455, allocations: 19.98 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2455, allocations: 0 / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2456, allocations: 3.984 kB / 0.9839 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2456, allocations: 4 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2456, allocations: 0 / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.2459, allocations: 227.6 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.246, allocations: 77.11 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.246, allocations: 3.984 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2461, allocations: 23.95 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.2461, allocations: 8 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.2462, allocations: 0 / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.2462, allocations: 91.27 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2462, allocations: 0 / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002536/0.2465, allocations: 36 kB / 0.9844 GB, free: 22.03 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 (3): * Single equations (assignments): 3 * 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.0002208/0.2467, allocations: 131.1 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.2471, allocations: 87.92 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2471, allocations: 0 / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.2472, allocations: 51.91 kB / 0.9846 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.2475, allocations: 15.92 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.2478, allocations: 170.5 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.248, allocations: 0.6809 MB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.688e-05/0.248, allocations: 7.984 kB / 0.9855 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.2481, allocations: 11.44 kB / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.2481, allocations: 0 / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.003287/0.2514, allocations: 1.199 MB / 0.9867 GB, free: 19.63 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)