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.00139/0.00139, allocations: 108 kB / 15.6 MB, free: 132 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.00121/0.00121, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.318/1.318, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.741/1.741, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001423/0.001423, allocations: 71.45 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2153, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002333/0.2177, allocations: 1.272 MB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2191, allocations: 0.8322 MB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.2191, allocations: 0 / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.2191, allocations: 0 / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.2192, allocations: 11.91 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.2197, allocations: 123.4 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.2198, allocations: 27.86 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.2199, allocations: 4 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.2199, allocations: 15.98 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.22, allocations: 19.86 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.22, allocations: 0 / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.2204, allocations: 163.7 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.2204, allocations: 8 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.2204, allocations: 15.91 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.2207, allocations: 120 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2207, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2207, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2207, allocations: 0 / 0.7859 GB, free: 10.89 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.0005293/0.2213, allocations: 363.4 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.2213, allocations: 8.031 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.2214, allocations: 4.938 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.2215, allocations: 164.4 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.457e-05/0.2216, allocations: 34.25 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.2216, allocations: 8.312 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.2218, allocations: 42.25 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2218, allocations: 3.938 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2218, allocations: 4 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2218, allocations: 4 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.848e-05/0.2219, allocations: 11.98 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.2222, allocations: 161.7 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.2224, allocations: 46.59 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.002e-05/0.2225, allocations: 20.8 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.2228, allocations: 182.3 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2228, allocations: 34.56 kB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2228, allocations: 0 / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002693/0.2231, allocations: 73.52 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.2232, allocations: 51.41 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.2233, allocations: 105.8 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2233, allocations: 25.7 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.2233, allocations: 80.14 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.2234, allocations: 15.84 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.2234, allocations: 13.72 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2235, allocations: 322.8 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.711e-05/0.2236, allocations: 4 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.407e-05/0.2236, allocations: 15.98 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.023e-05/0.2237, allocations: 28.84 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2237, allocations: 0 / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.2239, allocations: 61.59 kB / 0.7877 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2239, allocations: 8.875 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2239, allocations: 0 / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2239, allocations: 0.5156 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.224, allocations: 23.86 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.224, allocations: 0 / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.224, allocations: 4 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.224, allocations: 4 kB / 0.7877 GB, free: 8.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/0.2241, allocations: 106.5 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.2241, allocations: 3.938 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.2243, allocations: 73.16 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2243, allocations: 0 / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2243, allocations: 0 / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2244, allocations: 0 / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.2245, allocations: 157.7 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2245, allocations: 4 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.2245, allocations: 11.92 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2245, allocations: 7.938 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2246, allocations: 0 / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2246, allocations: 0 / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2246, allocations: 0 / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.2247, allocations: 85.02 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.2248, allocations: 81.11 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.2248, allocations: 7.938 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.855e-05/0.2249, allocations: 7.984 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.2249, allocations: 4 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.2249, allocations: 3.938 kB / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.506e-05/0.225, allocations: 79.28 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.225, allocations: 0 / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002376/0.2252, allocations: 35.92 kB / 0.7884 GB, free: 7.965 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 (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.0002422/0.2255, allocations: 143.2 kB / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.2257, allocations: 27.92 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2257, allocations: 0 / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.733e-05/0.2257, allocations: 19.98 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.226, allocations: 4 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.2264, allocations: 135 kB / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.2267, allocations: 0.6768 MB / 0.7894 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.694e-05/0.2268, allocations: 7.984 kB / 0.7894 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.2268, allocations: 7.438 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2268, allocations: 4 kB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of Templates: time 0.003301/0.2301, allocations: 1.06 MB / 0.7904 GB, free: 5.828 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (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)