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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001098/0.001098, allocations: 183.7 kB / 377.1 MB, free: 1.527 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.578/1.578, allocations: 205.4 MB / 0.6367 GB, free: 9.465 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.0008798/0.0008797, allocations: 96 kB / 0.751 GB, free: 62.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 12 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2937, allocations: 116.3 MB / 0.9884 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8416/1.135, allocations: 139.2 MB / 1.124 GB, free: 35.53 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/1.136, allocations: 79.42 kB / 1.124 GB, free: 35.46 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00355/1.139, allocations: 1.478 MB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.074e-06/1.139, allocations: 0 / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.28e-06/1.139, allocations: 4 kB / 1.126 GB, free: 34.32 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.0002423/1.139, allocations: 330.8 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.14, allocations: 11.97 kB / 1.126 GB, free: 33.94 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/1.14, allocations: 26.19 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.867e-05/1.14, allocations: 159.1 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.14, allocations: 4 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/1.14, allocations: 2.422 kB / 1.126 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/1.14, allocations: 41.17 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/1.14, allocations: 0 / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/1.14, allocations: 7.469 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/1.14, allocations: 2.344 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/1.14, allocations: 12 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/1.14, allocations: 165.6 kB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/1.142, allocations: 281.1 kB / 1.127 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/1.142, allocations: 0 / 1.127 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/1.142, allocations: 34.56 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.142, allocations: 3.938 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001593/1.142, allocations: 66.19 kB / 1.127 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/1.142, allocations: 55.41 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.079e-05/1.142, allocations: 85 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/1.142, allocations: 29.83 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.697e-05/1.143, allocations: 83.7 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/1.143, allocations: 11.84 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/1.143, allocations: 4 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.722e-05/1.143, allocations: 310.8 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/1.143, allocations: 8.562 kB / 1.128 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/1.143, allocations: 7.516 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.376e-05/1.143, allocations: 8 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.143, allocations: 4 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.816e-05/1.143, allocations: 61.59 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.143, allocations: 8 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.143, allocations: 1.625 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.143, allocations: 3.938 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/1.143, allocations: 4 kB / 1.128 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/1.143, allocations: 0 / 1.128 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/1.143, allocations: 3.469 kB / 1.128 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/1.143, allocations: 8 kB / 1.128 GB, free: 32.41 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.288e-05/1.143, allocations: 105.8 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/1.143, allocations: 13.78 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/1.143, allocations: 8.156 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.143, allocations: 0 / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.143, allocations: 0.5 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.143, allocations: 0 / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.612e-05/1.143, allocations: 153.3 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.143, allocations: 0.5 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/1.143, allocations: 11.42 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.143, allocations: 4.703 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/1.143, allocations: 0.5625 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.143, allocations: 0 / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.143, allocations: 4 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.041e-05/1.143, allocations: 84.44 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/1.143, allocations: 81.11 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/1.143, allocations: 7.828 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.693e-05/1.143, allocations: 0 / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/1.143, allocations: 4.844 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/1.144, allocations: 0.9375 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.097e-05/1.144, allocations: 85.84 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.144, allocations: 0 / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001812/1.144, allocations: 8 kB / 1.128 GB, free: 31.78 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 9.576e-05/1.144, allocations: 98.72 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.464e-05/1.144, allocations: 28.88 kB / 1.128 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.144, allocations: 0 / 1.128 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-05/1.144, allocations: 11.42 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/1.144, allocations: 18.31 kB / 1.128 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/1.144, allocations: 131.8 kB / 1.128 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/1.145, allocations: 0.682 MB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.057e-05/1.145, allocations: 4.891 kB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/1.145, allocations: 11.44 kB / 1.129 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.145, allocations: 0 / 1.129 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.00206/1.147, allocations: 473.3 kB / 1.13 GB, free: 30.53 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)