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.001383/0.001383, allocations: 110.5 kB / 16.37 MB, free: 6.477 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.00156/0.00156, allocations: 185.8 kB / 17.31 MB, free: 5.824 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.66/1.66, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.904/1.904, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001378/0.001378, allocations: 71.41 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2689, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003439/0.2724, allocations: 1.496 MB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.274, allocations: 0.8038 MB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.274, allocations: 4 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.2741, allocations: 7.938 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.2742, allocations: 11.91 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.2747, allocations: 131.4 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.2749, allocations: 51.8 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.275, allocations: 19.98 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.789e-05/0.2751, allocations: 23.91 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.2752, allocations: 19.92 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.2752, allocations: 4 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.2756, allocations: 171.7 kB / 0.7875 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.2756, allocations: 15.91 kB / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.2757, allocations: 19.94 kB / 0.7875 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.276, allocations: 151.6 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.276, allocations: 3.938 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.134e-06/0.276, allocations: 0 / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.276, allocations: 0 / 0.7876 GB, free: 228 kB / 0.6544 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.5193/0.7953, allocations: 398 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.968e-05/0.7954, allocations: 12.56 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/0.7955, allocations: 3.594 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.7957, allocations: 170.5 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.7957, allocations: 1.469 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.7958, allocations: 6.156 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.7962, allocations: 71.98 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.7962, allocations: 192 / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.7962, allocations: 5.984 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.7962, allocations: 2.531 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.7966, allocations: 75.05 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.7971, allocations: 285.4 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.7974, allocations: 57.34 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.7976, allocations: 40.17 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/0.7978, allocations: 90.98 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.7979, allocations: 37.53 kB / 0.7888 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.7979, allocations: 1.625 kB / 0.7888 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0007094/0.7986, allocations: 131.1 kB / 0.789 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.7987, allocations: 53.34 kB / 0.789 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.7988, allocations: 116.5 kB / 0.7891 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.7988, allocations: 28.52 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.7988, allocations: 86.08 kB / 0.7892 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.7989, allocations: 11.02 kB / 0.7892 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.7989, allocations: 16.59 kB / 0.7893 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.799, allocations: 324.7 kB / 0.7896 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.7992, allocations: 31.88 kB / 0.7896 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.7994, allocations: 30.61 kB / 0.7896 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.7998, allocations: 70.83 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.7998, allocations: 0.5625 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004134/0.8002, allocations: 102.5 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8002, allocations: 5.25 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.8002, allocations: 0 / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.8003, allocations: 0 / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.8004, allocations: 23.5 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.8005, allocations: 2.672 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.8006, allocations: 14.98 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.8006, allocations: 3.25 kB / 0.7898 GB, free: 47.47 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 (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 9.016e-05/0.8007, allocations: 112.3 kB / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.8007, allocations: 6.125 kB / 0.79 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.8012, allocations: 114.2 kB / 0.7901 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8012, allocations: 0.625 kB / 0.7901 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8012, allocations: 2.375 kB / 0.7901 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8013, allocations: 3.234 kB / 0.7901 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.8015, allocations: 173.3 kB / 0.7902 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8015, allocations: 3.281 kB / 0.7902 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.8016, allocations: 13.98 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.8016, allocations: 1.281 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.8016, allocations: 0.5 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.8016, allocations: 4.547 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8017, allocations: 2.625 kB / 0.7903 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.8021, allocations: 196 kB / 0.7904 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.8021, allocations: 84.62 kB / 0.7905 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.8022, allocations: 1.031 kB / 0.7905 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.8023, allocations: 13.5 kB / 0.7905 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.8024, allocations: 8.594 kB / 0.7906 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.8024, allocations: 0 / 0.7906 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.8025, allocations: 97.27 kB / 0.7906 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8025, allocations: 0.7188 kB / 0.7906 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004351/0.8029, allocations: 32.62 kB / 0.7907 GB, free: 46.81 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 (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.0002836/0.8032, allocations: 127.6 kB / 0.7908 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004468/0.8037, allocations: 75.28 kB / 0.7909 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8037, allocations: 1.125 kB / 0.7909 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.8039, allocations: 40.67 kB / 0.7909 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.8044, allocations: 14.53 kB / 0.7909 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.8049, allocations: 177.2 kB / 0.7911 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.805, allocations: 0.6821 MB / 0.7918 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.8051, allocations: 10.91 kB / 0.7918 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.8051, allocations: 9.625 kB / 0.7918 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.003981/0.8091, allocations: 1.22 MB / 0.793 GB, free: 45.82 MB / 0.6544 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)