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.001139/0.001139, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.00106/0.00106, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 222.1 MB, free: 5.488 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.803/1.803, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.000589/0.0005892, allocations: 13.47 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2907, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001825/0.2926, allocations: 1.191 MB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.2937, allocations: 0.6693 MB / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.2938, allocations: 4 kB / 0.7889 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.2939, allocations: 7.922 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.327e-05/0.294, allocations: 3.984 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.2946, allocations: 107.7 kB / 0.789 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.2948, allocations: 35.89 kB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.2949, allocations: 11.98 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.731e-05/0.295, allocations: 15.98 kB / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.2951, allocations: 27.84 kB / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2951, allocations: 0 / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.2956, allocations: 171.8 kB / 0.7893 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.2956, allocations: 7.938 kB / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.2957, allocations: 29.7 kB / 0.7893 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.2959, allocations: 96.09 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2959, allocations: 0 / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.056e-06/0.2959, allocations: 0 / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.296, allocations: 0 / 0.7894 GB, free: 9.57 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.0007069/0.2967, allocations: 405.8 kB / 0.7898 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.2967, allocations: 12.03 kB / 0.7898 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.2968, allocations: 7.906 kB / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.297, allocations: 178.9 kB / 0.79 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.297, allocations: 0 / 0.79 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.2971, allocations: 4 kB / 0.79 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.2974, allocations: 85.64 kB / 0.7901 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2974, allocations: 0 / 0.7901 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.2975, allocations: 4 kB / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2975, allocations: 4 kB / 0.7901 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.2978, allocations: 91.91 kB / 0.7902 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.2984, allocations: 288.7 kB / 0.7904 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.2986, allocations: 62.55 kB / 0.7905 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/0.2988, allocations: 89.19 kB / 0.7906 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.2989, allocations: 38.55 kB / 0.7906 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.2989, allocations: 0 / 0.7906 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0006355/0.2995, allocations: 169.4 kB / 0.7908 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.2996, allocations: 55.36 kB / 0.7908 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2997, allocations: 117.8 kB / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.2998, allocations: 29.7 kB / 0.791 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.2998, allocations: 92.08 kB / 0.7911 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.2998, allocations: 3.906 kB / 0.7911 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.2999, allocations: 0 / 0.7911 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3, allocations: 322.8 kB / 0.7914 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.3002, allocations: 43.97 kB / 0.7914 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.3003, allocations: 39.95 kB / 0.7915 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3005, allocations: 43.97 kB / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3005, allocations: 0 / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003317/0.3008, allocations: 125.5 kB / 0.7916 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3009, allocations: 4 kB / 0.7916 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3009, allocations: 4 kB / 0.7916 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3009, allocations: 3.938 kB / 0.7916 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.301, allocations: 27.97 kB / 0.7917 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.301, allocations: 0 / 0.7917 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.337e-05/0.3011, allocations: 19.94 kB / 0.7917 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.3011, allocations: 0 / 0.7917 GB, free: 7.016 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.798e-05/0.3012, allocations: 113.8 kB / 0.7918 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.3013, allocations: 3.906 kB / 0.7918 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.3016, allocations: 137.4 kB / 0.7919 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3017, allocations: 4 kB / 0.7919 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3017, allocations: 0 / 0.7919 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3017, allocations: 0 / 0.7919 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.3019, allocations: 177.7 kB / 0.7921 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3019, allocations: 4 kB / 0.7921 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.344e-05/0.302, allocations: 19.97 kB / 0.7921 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.302, allocations: 4 kB / 0.7921 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.302, allocations: 0 / 0.7921 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.302, allocations: 4 kB / 0.7921 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.302, allocations: 0 / 0.7921 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.3024, allocations: 215.8 kB / 0.7923 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.3024, allocations: 85.02 kB / 0.7924 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.3025, allocations: 3.984 kB / 0.7924 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3026, allocations: 19.92 kB / 0.7924 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.3026, allocations: 4.047 kB / 0.7924 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.3026, allocations: 7.984 kB / 0.7924 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.116e-05/0.3027, allocations: 95.27 kB / 0.7925 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3027, allocations: 0 / 0.7925 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002747/0.303, allocations: 31.94 kB / 0.7926 GB, free: 5.996 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 (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.0002288/0.3033, allocations: 127.2 kB / 0.7927 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.3036, allocations: 91.86 kB / 0.7928 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3036, allocations: 0 / 0.7928 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.3038, allocations: 51.95 kB / 0.7928 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.304, allocations: 15.89 kB / 0.7928 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.3044, allocations: 174 kB / 0.793 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3047, allocations: 0.6809 MB / 0.7937 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.3047, allocations: 7.984 kB / 0.7937 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.3048, allocations: 7.438 kB / 0.7937 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.3048, allocations: 0 / 0.7937 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of Templates: time 0.00371/0.3085, allocations: 1.191 MB / 0.7949 GB, free: 3.613 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: