Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.597/1.597, allocations: 293 MB / 309 MB, free: 4.801 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.0009418/0.0009418, allocations: 176.5 kB / 378.7 MB, free: 1.016 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.602/1.602, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.0008463/0.0008464, allocations: 94.02 kB / 0.7527 GB, free: 62.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004009, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2392, allocations: 116.4 MB / 0.9904 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7101/0.9493, allocations: 139.3 MB / 1.126 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.9496, allocations: 79.45 kB / 1.127 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003762/0.9534, allocations: 1.49 MB / 1.128 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9534, allocations: 1.5 kB / 1.128 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.9535, allocations: 0 / 1.128 GB, free: 33.34 MB / 0.7292 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.0002639/0.9537, allocations: 338.6 kB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.9538, allocations: 12.03 kB / 1.128 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.954, allocations: 17.42 kB / 1.128 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.292e-05/0.9542, allocations: 164.1 kB / 1.129 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.9542, allocations: 4.312 kB / 1.129 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.9542, allocations: 4.875 kB / 1.129 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.9543, allocations: 42.44 kB / 1.129 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9543, allocations: 192 / 1.129 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.9543, allocations: 7.938 kB / 1.129 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9544, allocations: 4 kB / 1.129 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.9544, allocations: 16.12 kB / 1.129 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.9546, allocations: 158.4 kB / 1.129 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.9562, allocations: 276.6 kB / 1.129 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.9563, allocations: 21.92 kB / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.9563, allocations: 0 / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.9563, allocations: 30.56 kB / 1.129 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.9563, allocations: 0 / 1.129 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001666/0.9565, allocations: 69.67 kB / 1.129 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.9566, allocations: 55.41 kB / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.234e-05/0.9566, allocations: 97.42 kB / 1.129 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.9566, allocations: 29.7 kB / 1.129 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.66e-05/0.9567, allocations: 84.08 kB / 1.129 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.9567, allocations: 7.844 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-06/0.9567, allocations: 0.6562 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.9568, allocations: 314.8 kB / 1.13 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.9568, allocations: 11.42 kB / 1.13 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.439e-05/0.9568, allocations: 12.12 kB / 1.13 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.682e-05/0.9569, allocations: 25.38 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9569, allocations: 0 / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.694e-05/0.9569, allocations: 54.11 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.957, allocations: 8.656 kB / 1.13 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.957, allocations: 3.938 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.957, allocations: 0 / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.9571, allocations: 11.97 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.9571, allocations: 0 / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.9571, allocations: 4 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.9571, allocations: 4 kB / 1.13 GB, free: 31.38 MB / 0.7292 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 5.598e-05/0.9572, allocations: 110.7 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.9572, allocations: 4 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.9572, allocations: 11.44 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.9572, allocations: 0.625 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9572, allocations: 0 / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.9572, allocations: 0 / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.769e-05/0.9573, allocations: 158.6 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.9573, allocations: 8.062 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.9574, allocations: 8 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.9574, allocations: 1.031 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.9574, allocations: 3.938 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.9574, allocations: 0.5625 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9574, allocations: 0 / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.197e-05/0.9575, allocations: 84.64 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.9576, allocations: 80.62 kB / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.9576, allocations: 4.5 kB / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.303e-05/0.9576, allocations: 4 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.9577, allocations: 4 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.9577, allocations: 0 / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.825e-05/0.9577, allocations: 75.28 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.9577, allocations: 1.031 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001824/0.9579, allocations: 12 kB / 1.13 GB, free: 30.74 MB / 0.7292 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.000102/0.958, allocations: 98.77 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.64e-05/0.9581, allocations: 28.55 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9581, allocations: 3.938 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-05/0.9581, allocations: 12 kB / 1.131 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.9584, allocations: 12.17 kB / 1.131 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.9587, allocations: 136.1 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.9588, allocations: 0.6804 MB / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.84e-05/0.9589, allocations: 0 / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.9589, allocations: 11.44 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9589, allocations: 3.938 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.002261/0.9612, allocations: 0.489 MB / 1.132 GB, free: 29.46 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)