Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 99.86 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.0008995/0.0008995, allocations: 177.3 kB / 15.95 MB, free: 216 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.58/1.58, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.732/1.732, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005703/0.0005705, allocations: 17.91 kB / 0.6735 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2676, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001375/0.269, allocations: 0.9882 MB / 0.7881 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.2702, allocations: 0.7372 MB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.808e-05/0.2702, allocations: 4 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.2702, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.2703, allocations: 7.984 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.2707, allocations: 103.7 kB / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.971e-05/0.2708, allocations: 27.83 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.2708, allocations: 4 kB / 0.7889 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.2709, allocations: 11.98 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.2709, allocations: 11.94 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.271, allocations: 4 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.2713, allocations: 171.8 kB / 0.7891 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.2713, allocations: 11.98 kB / 0.7891 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.2714, allocations: 25.7 kB / 0.7892 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.2715, allocations: 84.06 kB / 0.7892 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2715, allocations: 4 kB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2716, allocations: 0 / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.2716, allocations: 0 / 0.7893 GB, free: 9.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004515/0.272, allocations: 363.2 kB / 0.7896 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2721, allocations: 8.031 kB / 0.7896 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.2721, allocations: 4 kB / 0.7896 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.2722, allocations: 163 kB / 0.7898 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.2723, allocations: 29.7 kB / 0.7898 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.2723, allocations: 0 / 0.7898 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.2725, allocations: 49.61 kB / 0.7898 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2725, allocations: 0 / 0.7898 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2725, allocations: 0 / 0.7898 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2725, allocations: 0 / 0.7898 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.2726, allocations: 23.98 kB / 0.7899 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.2728, allocations: 157.7 kB / 0.79 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.273, allocations: 46.56 kB / 0.7901 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/0.2733, allocations: 178.3 kB / 0.7902 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2733, allocations: 42.5 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2733, allocations: 0 / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002338/0.2736, allocations: 61.67 kB / 0.7903 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.2736, allocations: 55.41 kB / 0.7904 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.2737, allocations: 98.03 kB / 0.7905 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.2737, allocations: 25.7 kB / 0.7905 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.2737, allocations: 80.14 kB / 0.7906 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.2738, allocations: 27.69 kB / 0.7906 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.2738, allocations: 0 / 0.7906 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2739, allocations: 314.8 kB / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.673e-05/0.274, allocations: 19.92 kB / 0.7909 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/0.274, allocations: 4.188 kB / 0.7909 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.2741, allocations: 20 kB / 0.7909 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2741, allocations: 4 kB / 0.7909 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001173/0.2742, allocations: 49.69 kB / 0.791 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2742, allocations: 8 kB / 0.791 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2742, allocations: 0 / 0.791 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2742, allocations: 0 / 0.791 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.2743, allocations: 15.98 kB / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2743, allocations: 0 / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.2743, allocations: 4 kB / 0.791 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2744, allocations: 4 kB / 0.791 GB, free: 7.656 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 (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 7.026e-05/0.2744, allocations: 109.8 kB / 0.7911 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.2744, allocations: 7.906 kB / 0.7911 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.2746, allocations: 69.11 kB / 0.7912 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2746, allocations: 4 kB / 0.7912 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2747, allocations: 0 / 0.7912 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2747, allocations: 3.984 kB / 0.7912 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.2748, allocations: 157.6 kB / 0.7914 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2748, allocations: 0 / 0.7914 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.2748, allocations: 8 kB / 0.7914 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2748, allocations: 0 / 0.7914 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.2749, allocations: 4 kB / 0.7914 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2749, allocations: 4 kB / 0.7914 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2749, allocations: 0 / 0.7914 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.275, allocations: 85.05 kB / 0.7915 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.2751, allocations: 88.97 kB / 0.7915 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.2751, allocations: 3.984 kB / 0.7915 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.2752, allocations: 0 / 0.7915 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.2752, allocations: 4 kB / 0.7915 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.2752, allocations: 4 kB / 0.7916 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.741e-05/0.2753, allocations: 87.27 kB / 0.7916 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2753, allocations: 0 / 0.7916 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000221/0.2755, allocations: 35.94 kB / 0.7917 GB, free: 6.883 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 (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 Backend phase and start with SimCode phase: time 0.0002126/0.2757, allocations: 135.1 kB / 0.7918 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.2758, allocations: 27.98 kB / 0.7918 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.2759, allocations: 7.938 kB / 0.7918 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.93e-05/0.2759, allocations: 15.98 kB / 0.7918 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.2761, allocations: 7.938 kB / 0.7919 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.2763, allocations: 138.5 kB / 0.792 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2766, allocations: 0.677 MB / 0.7926 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.61e-05/0.2767, allocations: 12.45 kB / 0.7927 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.2767, allocations: 11.44 kB / 0.7927 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2767, allocations: 0 / 0.7927 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of Templates: time 0.003108/0.2798, allocations: 1.004 MB / 0.7937 GB, free: 4.793 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: