Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.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.415/1.415, allocations: 252 MB / 267.6 MB, free: 10.93 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.0009533/0.0009533, allocations: 179.1 kB / 327.3 MB, free: 2.207 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.478/1.478, allocations: 205.4 MB / 0.5783 GB, free: 20.55 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.0007248/0.0007248, allocations: 81.95 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003663, allocations: 8.875 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2375, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001537/0.2391, allocations: 1.192 MB / 0.902 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009297/0.24, allocations: 0.7733 MB / 0.9027 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.2401, allocations: 3.938 kB / 0.9027 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.2401, allocations: 3.938 kB / 0.9027 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.959e-05/0.2402, allocations: 11.94 kB / 0.9028 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.2405, allocations: 107.6 kB / 0.9029 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.512e-05/0.2406, allocations: 51.8 kB / 0.9029 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.2407, allocations: 7.984 kB / 0.9029 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.651e-05/0.2408, allocations: 23.91 kB / 0.9029 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/0.2408, allocations: 19.92 kB / 0.903 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.2408, allocations: 4 kB / 0.903 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.2411, allocations: 159.7 kB / 0.9031 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.2411, allocations: 11.97 kB / 0.9031 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.2411, allocations: 33.64 kB / 0.9032 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.2413, allocations: 100.1 kB / 0.9033 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2413, allocations: 4 kB / 0.9033 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2413, allocations: 0 / 0.9033 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2413, allocations: 0 / 0.9033 GB, free: 61.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004815/0.2418, allocations: 399.2 kB / 0.9036 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2419, allocations: 8.031 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.2419, allocations: 11.91 kB / 0.9037 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.242, allocations: 175 kB / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.242, allocations: 3.938 kB / 0.9038 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.242, allocations: 0 / 0.9038 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.2423, allocations: 89.59 kB / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.2423, allocations: 0 / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.2423, allocations: 0 / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2423, allocations: 0 / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.2426, allocations: 95.91 kB / 0.904 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.243, allocations: 288.7 kB / 0.9043 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.2432, allocations: 74.41 kB / 0.9044 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.2433, allocations: 48.92 kB / 0.9044 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.2435, allocations: 89.09 kB / 0.9045 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.2435, allocations: 34.56 kB / 0.9045 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2435, allocations: 4 kB / 0.9045 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005199/0.244, allocations: 157.6 kB / 0.9047 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.2441, allocations: 59.36 kB / 0.9047 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.876e-05/0.2441, allocations: 117.7 kB / 0.9048 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.2442, allocations: 25.7 kB / 0.9049 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.2442, allocations: 108 kB / 0.905 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.2442, allocations: 7.844 kB / 0.905 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.2442, allocations: 0 / 0.905 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.2443, allocations: 314.8 kB / 0.9053 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2444, allocations: 47.95 kB / 0.9053 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.2446, allocations: 39.97 kB / 0.9054 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.2447, allocations: 47.95 kB / 0.9054 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.2447, allocations: 0 / 0.9054 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003026/0.245, allocations: 117.6 kB / 0.9055 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2451, allocations: 4 kB / 0.9055 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2451, allocations: 4 kB / 0.9055 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2451, allocations: 0 / 0.9055 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.2452, allocations: 19.98 kB / 0.9055 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2452, allocations: 0 / 0.9055 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.2453, allocations: 31.83 kB / 0.9056 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.2453, allocations: 4 kB / 0.9056 GB, free: 59.15 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 (3): * Single equations (assignments): 3 * 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 5.581e-05/0.2454, allocations: 117.7 kB / 0.9057 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.2454, allocations: 4 kB / 0.9057 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.2458, allocations: 129.5 kB / 0.9058 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2458, allocations: 0 / 0.9058 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2458, allocations: 4 kB / 0.9058 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2458, allocations: 0 / 0.9058 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.2459, allocations: 173.6 kB / 0.906 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2459, allocations: 0 / 0.906 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.246, allocations: 19.98 kB / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.246, allocations: 0 / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.2461, allocations: 0 / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2461, allocations: 4 kB / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2461, allocations: 3.984 kB / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.2464, allocations: 223.7 kB / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.2464, allocations: 85.02 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2465, allocations: 48 / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2466, allocations: 19.97 kB / 0.9063 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.2466, allocations: 11.92 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-06/0.2466, allocations: 0 / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.227e-05/0.2467, allocations: 95.27 kB / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2467, allocations: 0 / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002398/0.2469, allocations: 35.94 kB / 0.9065 GB, free: 58.14 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 (3): * Single equations (assignments): 3 * 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.0001832/0.2471, allocations: 127.3 kB / 0.9066 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.2475, allocations: 95.86 kB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2475, allocations: 0 / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.2476, allocations: 47.97 kB / 0.9067 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.2479, allocations: 20.34 kB / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.2482, allocations: 196.2 kB / 0.9069 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.2483, allocations: 0.6809 MB / 0.9076 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.2484, allocations: 7.438 kB / 0.9076 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2484, allocations: 0 / 0.9076 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.002353/0.2508, allocations: 1.212 MB / 0.9088 GB, free: 55.71 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)