Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.693/1.693, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009547/0.0009547, allocations: 190.8 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 0.6626 GB, free: 4.371 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008341/0.000834, allocations: 92.62 kB / 0.7808 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005363/0.0005362, allocations: 12.62 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7027/0.7033, allocations: 120.3 MB / 1.026 GB, free: 56.58 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.912, allocations: 141.5 MB / 1.165 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.9123, allocations: 77.36 kB / 1.165 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003992/0.9163, allocations: 1.511 MB / 1.166 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9163, allocations: 1.188 kB / 1.166 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.9163, allocations: 0 / 1.166 GB, free: 15.15 MB / 0.7448 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.0002916/0.9166, allocations: 337.8 kB / 1.166 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9167, allocations: 8.719 kB / 1.166 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.9169, allocations: 21.52 kB / 1.166 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.724e-05/0.917, allocations: 167.2 kB / 1.167 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.917, allocations: 5.922 kB / 1.167 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.917, allocations: 4.375 kB / 1.167 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.9172, allocations: 42.25 kB / 1.167 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.9172, allocations: 4.172 kB / 1.167 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.9172, allocations: 3.938 kB / 1.167 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.9172, allocations: 0 / 1.167 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.716e-05/0.9173, allocations: 13 kB / 1.167 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.9174, allocations: 153.7 kB / 1.167 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.9191, allocations: 279.5 kB / 1.167 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.9191, allocations: 24.84 kB / 1.167 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.9192, allocations: 0 / 1.167 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.9192, allocations: 30.56 kB / 1.167 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.9192, allocations: 4 kB / 1.167 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001629/0.9194, allocations: 61.62 kB / 1.167 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.9194, allocations: 59.34 kB / 1.167 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.9195, allocations: 89.86 kB / 1.167 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.9195, allocations: 33.83 kB / 1.167 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.9196, allocations: 80.14 kB / 1.167 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.9196, allocations: 19.73 kB / 1.167 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.9196, allocations: 0 / 1.167 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9197, allocations: 314.8 kB / 1.168 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.9197, allocations: 7.938 kB / 1.168 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.9198, allocations: 8.562 kB / 1.168 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.9198, allocations: 29.5 kB / 1.168 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9198, allocations: 0 / 1.168 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.577e-05/0.9199, allocations: 53.7 kB / 1.168 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.9199, allocations: 11.92 kB / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.9199, allocations: 3.938 kB / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.92, allocations: 0 / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.92, allocations: 8 kB / 1.168 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.92, allocations: 7.984 kB / 1.168 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.9201, allocations: 4.422 kB / 1.168 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.9201, allocations: 3.938 kB / 1.168 GB, free: 13.09 MB / 0.7448 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 6.724e-05/0.9202, allocations: 114.4 kB / 1.168 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.9202, allocations: 4 kB / 1.168 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.9202, allocations: 11.44 kB / 1.168 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.9202, allocations: 0 / 1.168 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.9202, allocations: 5.812 kB / 1.168 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.9202, allocations: 0 / 1.168 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.9203, allocations: 153.7 kB / 1.168 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.9204, allocations: 3.984 kB / 1.168 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.9204, allocations: 4 kB / 1.168 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9204, allocations: 0 / 1.168 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.9204, allocations: 3.938 kB / 1.168 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.9204, allocations: 8 kB / 1.168 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9204, allocations: 0 / 1.168 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.9205, allocations: 81.06 kB / 1.168 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.9206, allocations: 77.11 kB / 1.168 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.9206, allocations: 7.922 kB / 1.168 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.416e-05/0.9207, allocations: 4 kB / 1.168 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.9207, allocations: 0 / 1.168 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.9207, allocations: 0 / 1.168 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.805e-05/0.9207, allocations: 83.28 kB / 1.168 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9208, allocations: 0 / 1.168 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001922/0.9209, allocations: 8 kB / 1.168 GB, free: 12.43 MB / 0.7448 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.0001213/0.9211, allocations: 95.25 kB / 1.169 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.077e-05/0.9212, allocations: 27.92 kB / 1.169 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9212, allocations: 0 / 1.169 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.341e-05/0.9212, allocations: 18.56 kB / 1.169 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.9215, allocations: 16.03 kB / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.9218, allocations: 144.9 kB / 1.169 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.922, allocations: 0.677 MB / 1.169 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.551e-05/0.9221, allocations: 4 kB / 1.169 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.9221, allocations: 11.44 kB / 1.169 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.9221, allocations: 0 / 1.169 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of Templates: time 0.00216/0.9243, allocations: 484.3 kB / 1.17 GB, free: 10.92 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)