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.475/1.475, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001076/0.001076, allocations: 171.7 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.258/2.258, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008982/0.000898, allocations: 88.2 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 9.531 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2434, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001228/0.2447, allocations: 1.006 MB / 0.8977 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.2457, allocations: 0.8562 MB / 0.8986 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.328e-05/0.2458, allocations: 0 / 0.8986 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.2458, allocations: 3.938 kB / 0.8986 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.2458, allocations: 3.984 kB / 0.8986 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.2462, allocations: 111.5 kB / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.2463, allocations: 23.92 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.2463, allocations: 3.984 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.497e-05/0.2464, allocations: 11.94 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.2464, allocations: 11.98 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.2465, allocations: 0 / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.2467, allocations: 175.7 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.2468, allocations: 3.984 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.2468, allocations: 11.94 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.2469, allocations: 87.73 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.247, allocations: 7.984 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.247, allocations: 0 / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.247, allocations: 0 / 0.899 GB, free: 65.86 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.0003488/0.2473, allocations: 351.5 kB / 0.8993 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2474, allocations: 8.031 kB / 0.8993 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.2474, allocations: 0.9375 kB / 0.8993 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.837e-05/0.2475, allocations: 172.2 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.2476, allocations: 34.19 kB / 0.8995 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.2476, allocations: 12.38 kB / 0.8996 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.2477, allocations: 42.25 kB / 0.8996 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2477, allocations: 3.938 kB / 0.8996 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.2478, allocations: 0 / 0.8996 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2478, allocations: 0 / 0.8996 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.2479, allocations: 15.98 kB / 0.8996 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.248, allocations: 161.7 kB / 0.8998 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.2482, allocations: 54.53 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.2482, allocations: 20.94 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.2485, allocations: 178.2 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.2485, allocations: 34.56 kB / 0.9 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2485, allocations: 0 / 0.9 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002165/0.2487, allocations: 73.61 kB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.2488, allocations: 55.34 kB / 0.9002 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.203e-05/0.2488, allocations: 93.86 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.954e-06/0.2488, allocations: 25.7 kB / 0.9003 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.263e-05/0.2489, allocations: 80.14 kB / 0.9004 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.2489, allocations: 23.73 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.2489, allocations: 9.719 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.249, allocations: 314.8 kB / 0.9007 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.249, allocations: 15.98 kB / 0.9007 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.456e-05/0.2491, allocations: 8 kB / 0.9007 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.036e-05/0.2491, allocations: 28.84 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2492, allocations: 0 / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001098/0.2493, allocations: 57.62 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2493, allocations: 11.92 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2493, allocations: 4 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2493, allocations: 0 / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.872e-05/0.2494, allocations: 12 kB / 0.9008 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2494, allocations: 0 / 0.9008 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.2494, allocations: 4 kB / 0.9008 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2494, allocations: 4 kB / 0.9008 GB, free: 63.71 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.796e-05/0.2495, allocations: 109.8 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.042e-05/0.2495, allocations: 7.938 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.2496, allocations: 65.08 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.2497, allocations: 4 kB / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2497, allocations: 7.938 kB / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2497, allocations: 0 / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.951e-05/0.2498, allocations: 157.7 kB / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2498, allocations: 0 / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.2498, allocations: 8 kB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.2498, allocations: 7.875 kB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.2498, allocations: 0 / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2498, allocations: 3.984 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2498, allocations: 0.5625 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.25, allocations: 81.12 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.25, allocations: 89.12 kB / 0.9013 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.25, allocations: 3.938 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.499e-05/0.2501, allocations: 0 / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.2501, allocations: 7.984 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.2501, allocations: 4 kB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.098e-05/0.2502, allocations: 83.22 kB / 0.9014 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2502, allocations: 4 kB / 0.9014 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001987/0.2504, allocations: 31.94 kB / 0.9015 GB, free: 62.95 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.0001853/0.2506, allocations: 147.1 kB / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.2507, allocations: 23.98 kB / 0.9016 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2507, allocations: 0 / 0.9016 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.2508, allocations: 15.98 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.251, allocations: 12 kB / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.2513, allocations: 150.5 kB / 0.9018 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.927e-05/0.2514, allocations: 0.6731 MB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.2514, allocations: 11.44 kB / 0.9025 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2514, allocations: 0 / 0.9025 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.001987/0.2534, allocations: 0.986 MB / 0.9034 GB, free: 60.86 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)