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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.001241/0.00124, allocations: 199.9 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009018/0.0009019, allocations: 98.41 kB / 0.748 GB, free: 61.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2135, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002741/0.2163, allocations: 1.329 MB / 0.9835 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2178, allocations: 0.8507 MB / 0.9844 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.726e-05/0.2178, allocations: 0 / 0.9844 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.391e-05/0.2179, allocations: 4 kB / 0.9844 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.757e-05/0.218, allocations: 7.922 kB / 0.9844 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.2185, allocations: 107.6 kB / 0.9845 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.2185, allocations: 27.86 kB / 0.9845 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.2186, allocations: 7.984 kB / 0.9845 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.924e-05/0.2186, allocations: 15.88 kB / 0.9845 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.2187, allocations: 11.97 kB / 0.9845 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.2187, allocations: 4 kB / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003541/0.2191, allocations: 171.7 kB / 0.9847 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.2191, allocations: 11.92 kB / 0.9847 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.2191, allocations: 4 kB / 0.9847 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.2194, allocations: 116 kB / 0.9848 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2194, allocations: 0 / 0.9848 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.71e-07/0.2194, allocations: 0 / 0.9848 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.2194, allocations: 0 / 0.9848 GB, free: 7.719 MB / 0.7136 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.0005177/0.22, allocations: 367.3 kB / 0.9852 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.22, allocations: 16.03 kB / 0.9852 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.2201, allocations: 0.9375 kB / 0.9852 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2202, allocations: 172.3 kB / 0.9854 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-05/0.2203, allocations: 34.25 kB / 0.9854 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.2203, allocations: 4.375 kB / 0.9854 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.2204, allocations: 42.25 kB / 0.9854 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2204, allocations: 3.938 kB / 0.9854 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2205, allocations: 0 / 0.9854 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2205, allocations: 0 / 0.9854 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.2206, allocations: 27.97 kB / 0.9855 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.2208, allocations: 161.6 kB / 0.9856 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.221, allocations: 46.55 kB / 0.9857 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.221, allocations: 16.94 kB / 0.9857 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.2213, allocations: 182.2 kB / 0.9858 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2214, allocations: 38.56 kB / 0.9859 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.2214, allocations: 0 / 0.9859 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002461/0.2216, allocations: 69.61 kB / 0.9859 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.2217, allocations: 51.41 kB / 0.986 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.2217, allocations: 97.8 kB / 0.9861 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.2218, allocations: 25.7 kB / 0.9861 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.2218, allocations: 88.12 kB / 0.9862 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.2219, allocations: 15.75 kB / 0.9862 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.2219, allocations: 17.72 kB / 0.9862 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.2221, allocations: 310.8 kB / 0.9865 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.407e-05/0.2221, allocations: 11.98 kB / 0.9865 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.177e-05/0.2222, allocations: 8 kB / 0.9865 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.759e-05/0.2223, allocations: 28.84 kB / 0.9866 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2223, allocations: 4 kB / 0.9866 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001498/0.2224, allocations: 57.67 kB / 0.9866 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.2225, allocations: 10.59 kB / 0.9866 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2225, allocations: 7.938 kB / 0.9867 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2225, allocations: 3.938 kB / 0.9867 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.963e-05/0.2225, allocations: 4 kB / 0.9867 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2226, allocations: 0 / 0.9867 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.2226, allocations: 7.938 kB / 0.9867 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2226, allocations: 3.984 kB / 0.9867 GB, free: 5.555 MB / 0.7136 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 8.614e-05/0.2227, allocations: 117.8 kB / 0.9868 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.2227, allocations: 3.938 kB / 0.9868 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.2229, allocations: 65.17 kB / 0.9868 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2229, allocations: 0 / 0.9868 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2229, allocations: 0 / 0.9868 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2229, allocations: 0.5625 kB / 0.9868 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.2231, allocations: 161.5 kB / 0.987 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2231, allocations: 0 / 0.987 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.2231, allocations: 11.98 kB / 0.987 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2231, allocations: 7.938 kB / 0.987 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2232, allocations: 0 / 0.987 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2232, allocations: 4 kB / 0.987 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2232, allocations: 0 / 0.987 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.2236, allocations: 0.6435 MB / 0.9877 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.2237, allocations: 85.11 kB / 0.9877 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2237, allocations: 0 / 0.9877 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.935e-05/0.2238, allocations: 7.984 kB / 0.9877 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.2238, allocations: 4 kB / 0.9877 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.2238, allocations: 4 kB / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.2239, allocations: 79.28 kB / 0.9878 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2239, allocations: 0 / 0.9878 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003473/0.2242, allocations: 43.92 kB / 0.9879 GB, free: 4.184 MB / 0.7136 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.000221/0.2245, allocations: 135.2 kB / 0.988 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.2246, allocations: 31.86 kB / 0.988 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2246, allocations: 0 / 0.988 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.129e-05/0.2247, allocations: 16 kB / 0.988 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.2249, allocations: 7.984 kB / 0.9881 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.2253, allocations: 243.7 kB / 0.9883 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.2255, allocations: 0.6731 MB / 0.9889 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.655e-05/0.2256, allocations: 11.97 kB / 0.989 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.2256, allocations: 11.44 kB / 0.989 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.2256, allocations: 7.938 kB / 0.989 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of Templates: time 0.003142/0.2288, allocations: 1.022 MB / 0.99 GB, free: 1.957 MB / 0.7136 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)