Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.735/2.735, allocations: 287.5 MB / 302.4 MB, free: 8.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 172.5 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 0.6297 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001223/0.001206, allocations: 101.2 kB / 0.743 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006722/0.0006726, allocations: 16.67 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2202, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001363/0.2216, allocations: 0.9898 MB / 0.9793 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.223, allocations: 0.782 MB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.2231, allocations: 8 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.2231, allocations: 0 / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.193e-05/0.2232, allocations: 3.938 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.2237, allocations: 107.6 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.2237, allocations: 23.86 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.2238, allocations: 4 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.334e-05/0.2239, allocations: 15.86 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.2239, allocations: 8 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.224, allocations: 8 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.2244, allocations: 171.7 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.2244, allocations: 0 / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.2245, allocations: 33.7 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.2247, allocations: 84.12 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2247, allocations: 0 / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2247, allocations: 0 / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.2247, allocations: 0 / 0.9805 GB, free: 26.09 MB / 0.6198 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.0003873/0.2251, allocations: 359.2 kB / 0.9809 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2252, allocations: 11.97 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.2252, allocations: 4 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.59e-05/0.2253, allocations: 167 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/0.2254, allocations: 29.7 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.2254, allocations: 4 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.2256, allocations: 41.69 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2256, allocations: 4 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2256, allocations: 0 / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2257, allocations: 0 / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.2258, allocations: 23.92 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.226, allocations: 165.6 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.2263, allocations: 50.53 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.493e-05/0.2264, allocations: 20.94 kB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/0.2267, allocations: 182.2 kB / 0.9815 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.2267, allocations: 30.56 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.374e-06/0.2268, allocations: 0 / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003321/0.2271, allocations: 69.61 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.2271, allocations: 55.34 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.831e-05/0.2272, allocations: 97.86 kB / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.2272, allocations: 25.7 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.761e-05/0.2273, allocations: 88.12 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.2273, allocations: 15.75 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.2273, allocations: 4 kB / 0.9819 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.75e-05/0.2274, allocations: 314.8 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.2275, allocations: 11.98 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.2275, allocations: 8 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.794e-05/0.2276, allocations: 15.98 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2276, allocations: 0 / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000193/0.2278, allocations: 53.69 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2279, allocations: 4 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2279, allocations: 0 / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2279, allocations: 7.938 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.228, allocations: 7.984 kB / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.228, allocations: 0 / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.2281, allocations: 4 kB / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.2281, allocations: 3.984 kB / 0.9823 GB, free: 23.98 MB / 0.6198 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 0.0001038/0.2282, allocations: 117.8 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.2282, allocations: 7.906 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.2285, allocations: 61.17 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2285, allocations: 4 kB / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2285, allocations: 0 / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2285, allocations: 0 / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.2287, allocations: 157.6 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2287, allocations: 3.938 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/0.2288, allocations: 11.98 kB / 0.9827 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2288, allocations: 7.938 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.2288, allocations: 0 / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2288, allocations: 0 / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2288, allocations: 0 / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.229, allocations: 85.62 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.2291, allocations: 89.06 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.2291, allocations: 3.984 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.2292, allocations: 7.984 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.2293, allocations: 4 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.2293, allocations: 0 / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.2293, allocations: 79.28 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2293, allocations: 0 / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003184/0.2296, allocations: 39.92 kB / 0.983 GB, free: 23.21 MB / 0.6198 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.0002586/0.2299, allocations: 139.1 kB / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.2301, allocations: 31.92 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2301, allocations: 0 / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/0.2302, allocations: 15.98 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.2305, allocations: 14.3 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.2308, allocations: 138.5 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.231, allocations: 0.6848 MB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.936e-05/0.2311, allocations: 4 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.2311, allocations: 11.44 kB / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of SimCode: time 7.62e-07/0.2311, allocations: 0 / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.005295/0.2364, allocations: 0.9996 MB / 0.985 GB, free: 21.13 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)