Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 193.2 kB / 16.64 MB, free: 6.594 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.36/1.36, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.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.671/1.671, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001571/0.001572, allocations: 65.5 kB / 0.6722 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2353, allocations: 114.6 MB / 0.7841 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002593/0.2379, allocations: 1.496 MB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.2391, allocations: 0.8165 MB / 0.7864 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.2392, allocations: 0 / 0.7864 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.2392, allocations: 3.938 kB / 0.7864 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.128e-05/0.2393, allocations: 15.91 kB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.2397, allocations: 131.4 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.989e-05/0.2398, allocations: 51.8 kB / 0.7866 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.2399, allocations: 11.98 kB / 0.7866 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.24, allocations: 23.92 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.24, allocations: 19.92 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.24, allocations: 4 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.2404, allocations: 175.7 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.2404, allocations: 15.92 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.2404, allocations: 15.94 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.2407, allocations: 155.6 kB / 0.787 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2407, allocations: 0 / 0.787 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2407, allocations: 0 / 0.787 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2407, allocations: 4 kB / 0.787 GB, free: 9.867 MB / 0.6075 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.0005005/0.2412, allocations: 401.6 kB / 0.7874 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.2412, allocations: 8.031 kB / 0.7874 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.2413, allocations: 4.938 kB / 0.7874 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2414, allocations: 176.2 kB / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.2414, allocations: 384 / 0.7875 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.2414, allocations: 8.375 kB / 0.7875 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.2417, allocations: 78.19 kB / 0.7876 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2417, allocations: 192 / 0.7876 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.2417, allocations: 3.938 kB / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2417, allocations: 0 / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.242, allocations: 67.92 kB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.2424, allocations: 292.6 kB / 0.788 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.2426, allocations: 50.55 kB / 0.788 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.2427, allocations: 44.91 kB / 0.7881 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.2429, allocations: 93.03 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.2429, allocations: 34.56 kB / 0.7882 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.2429, allocations: 0 / 0.7882 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000524/0.2435, allocations: 129.5 kB / 0.7883 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.2435, allocations: 55.39 kB / 0.7884 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.2436, allocations: 117.8 kB / 0.7885 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.2436, allocations: 25.7 kB / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.2437, allocations: 92.05 kB / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.2437, allocations: 7.906 kB / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.2437, allocations: 17.7 kB / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.2438, allocations: 322.8 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.244, allocations: 31.95 kB / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.2441, allocations: 31.97 kB / 0.789 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.2444, allocations: 68.78 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2444, allocations: 4 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003138/0.2447, allocations: 101.8 kB / 0.7891 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2448, allocations: 4 kB / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.2448, allocations: 48 / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2448, allocations: 7.922 kB / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.2449, allocations: 23.97 kB / 0.7892 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2449, allocations: 0 / 0.7892 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.506e-05/0.245, allocations: 11.98 kB / 0.7892 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.245, allocations: 4 kB / 0.7892 GB, free: 7.352 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/0.2451, allocations: 118.4 kB / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.2451, allocations: 0 / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.2455, allocations: 113.5 kB / 0.7894 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2455, allocations: 0 / 0.7894 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2455, allocations: 0 / 0.7894 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2455, allocations: 4 kB / 0.7894 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.2457, allocations: 181.4 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2457, allocations: 0 / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.163e-05/0.2458, allocations: 15.98 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2458, allocations: 0 / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2458, allocations: 7.984 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2458, allocations: 0 / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2458, allocations: 0 / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.2462, allocations: 191.4 kB / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.2462, allocations: 89.02 kB / 0.7899 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.2462, allocations: 4 kB / 0.7899 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.2464, allocations: 15.97 kB / 0.7899 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.2464, allocations: 0 / 0.7899 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.2464, allocations: 4 kB / 0.7899 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.902e-05/0.2465, allocations: 95.2 kB / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2465, allocations: 0 / 0.79 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002694/0.2468, allocations: 32 kB / 0.79 GB, free: 6.391 MB / 0.6075 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 (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.0002069/0.247, allocations: 135.2 kB / 0.7902 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.2473, allocations: 71.86 kB / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2473, allocations: 0 / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.2475, allocations: 35.91 kB / 0.7903 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2478, allocations: 19.92 kB / 0.7903 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.2481, allocations: 147.1 kB / 0.7904 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.2483, allocations: 0.6846 MB / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.479e-05/0.2484, allocations: 3.984 kB / 0.7911 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.2484, allocations: 11.44 kB / 0.7911 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2484, allocations: 4 kB / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of Templates: time 0.003958/0.2524, allocations: 1.368 MB / 0.7924 GB, free: 3.871 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)