Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 180.3 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007674/0.0007672, allocations: 89.11 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003405, allocations: 8.688 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2379, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00129/0.2393, allocations: 1.001 MB / 0.9024 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.2405, allocations: 0.8481 MB / 0.9033 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.562e-05/0.2406, allocations: 0 / 0.9033 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.2406, allocations: 3.938 kB / 0.9033 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.2406, allocations: 0 / 0.9033 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.241, allocations: 111.5 kB / 0.9034 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.465e-05/0.2411, allocations: 23.92 kB / 0.9034 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.2411, allocations: 4 kB / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.857e-05/0.2412, allocations: 19.92 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.2413, allocations: 7.984 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2413, allocations: 4 kB / 0.9034 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.2416, allocations: 175.7 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.2416, allocations: 3.938 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.2416, allocations: 29.7 kB / 0.9036 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.2418, allocations: 96.05 kB / 0.9037 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2418, allocations: 0 / 0.9037 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.015e-06/0.2418, allocations: 0 / 0.9037 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2418, allocations: 0 / 0.9037 GB, free: 61.19 MB / 0.6042 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.0003437/0.2422, allocations: 355.5 kB / 0.9041 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2422, allocations: 11.97 kB / 0.9041 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.2422, allocations: 4.938 kB / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.239e-05/0.2423, allocations: 164.3 kB / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.2424, allocations: 30.27 kB / 0.9043 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.2424, allocations: 384 / 0.9043 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.2426, allocations: 46.23 kB / 0.9043 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2426, allocations: 7.938 kB / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2426, allocations: 0 / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2426, allocations: 7.938 kB / 0.9043 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.754e-05/0.2427, allocations: 15.98 kB / 0.9043 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.2428, allocations: 161.7 kB / 0.9045 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.243, allocations: 46.5 kB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.2431, allocations: 16.86 kB / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.2433, allocations: 182.3 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.2434, allocations: 30.56 kB / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2434, allocations: 3.938 kB / 0.9048 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002385/0.2436, allocations: 77.53 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.2436, allocations: 51.41 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.761e-05/0.2437, allocations: 105.8 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.2437, allocations: 25.7 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.679e-05/0.2437, allocations: 80.14 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.2438, allocations: 11.81 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.2438, allocations: 0 / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.2438, allocations: 318.8 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.211e-05/0.2439, allocations: 8 kB / 0.9054 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.2439, allocations: 11.98 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.021e-05/0.244, allocations: 28.84 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.244, allocations: 0 / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001077/0.2441, allocations: 61.62 kB / 0.9055 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2442, allocations: 7.938 kB / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2442, allocations: 0 / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2442, allocations: 0 / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.863e-05/0.2442, allocations: 8 kB / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2443, allocations: 3.984 kB / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.2443, allocations: 8 kB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2443, allocations: 0 / 0.9055 GB, free: 59.07 MB / 0.6042 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 4.986e-05/0.2444, allocations: 105.8 kB / 0.9056 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.2444, allocations: 7.938 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.2445, allocations: 73.02 kB / 0.9057 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2445, allocations: 8 kB / 0.9057 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2446, allocations: 0 / 0.9057 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2446, allocations: 0 / 0.9057 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.111e-05/0.2446, allocations: 153.7 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2446, allocations: 4 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.2447, allocations: 11.98 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2447, allocations: 3.938 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2447, allocations: 0 / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2447, allocations: 0 / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2447, allocations: 0 / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.2449, allocations: 81.11 kB / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.2449, allocations: 93.59 kB / 0.906 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.2449, allocations: 7.875 kB / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-05/0.245, allocations: 7.984 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.245, allocations: 7.938 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.245, allocations: 0 / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.103e-05/0.2451, allocations: 83.27 kB / 0.9061 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2451, allocations: 0 / 0.9061 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002058/0.2453, allocations: 35.98 kB / 0.9062 GB, free: 58.29 MB / 0.6042 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.0002015/0.2455, allocations: 143.1 kB / 0.9063 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.2456, allocations: 23.98 kB / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2456, allocations: 0 / 0.9063 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.823e-05/0.2457, allocations: 19.94 kB / 0.9064 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.2459, allocations: 9.875 kB / 0.9064 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.2462, allocations: 164.2 kB / 0.9065 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2463, allocations: 0.6809 MB / 0.9072 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.2464, allocations: 7.438 kB / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2464, allocations: 0 / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.002173/0.2486, allocations: 0.9779 MB / 0.9082 GB, free: 56.2 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)