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.578/1.578, allocations: 289.9 MB / 297.4 MB, free: 6.32 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.001123/0.001123, allocations: 184.8 kB / 366.7 MB, free: 1.656 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.502/1.502, allocations: 205.2 MB / 0.626 GB, free: 7.203 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.0008523/0.0008524, allocations: 93.69 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.654e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5773/0.5773, allocations: 116.3 MB / 0.9732 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.7453, allocations: 138.5 MB / 1.109 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.7455, allocations: 75.94 kB / 1.109 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005713/0.7512, allocations: 1.471 MB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7512, allocations: 0.875 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.7512, allocations: 0 / 1.11 GB, free: 10.21 MB / 0.7136 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.0003619/0.7516, allocations: 331.1 kB / 1.11 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.7517, allocations: 12.56 kB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.752, allocations: 13.55 kB / 1.11 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.7521, allocations: 171 kB / 1.111 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.7521, allocations: 0 / 1.111 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.7522, allocations: 0.5938 kB / 1.111 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001039/0.7523, allocations: 12 kB / 1.111 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.733e-05/0.7524, allocations: 42.84 kB / 1.111 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.7524, allocations: 0 / 1.111 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.7524, allocations: 0.7188 kB / 1.111 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.7524, allocations: 0 / 1.111 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.7526, allocations: 134.7 kB / 1.111 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.7553, allocations: 275.9 kB / 1.111 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.7553, allocations: 16.86 kB / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.7554, allocations: 0 / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.7554, allocations: 36.66 kB / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.522e-06/0.7554, allocations: 0 / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001595/0.7556, allocations: 53.69 kB / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.7556, allocations: 52.28 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.7557, allocations: 95.62 kB / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.7557, allocations: 25.7 kB / 1.111 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.7558, allocations: 80.14 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.7558, allocations: 19.83 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.7559, allocations: 0 / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.756, allocations: 313.9 kB / 1.112 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.599e-05/0.756, allocations: 8 kB / 1.112 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.7561, allocations: 4 kB / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.7561, allocations: 12.12 kB / 1.112 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7561, allocations: 4.75 kB / 1.112 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001148/0.7562, allocations: 53.55 kB / 1.112 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7563, allocations: 4 kB / 1.112 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.7563, allocations: 0 / 1.112 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.7563, allocations: 7.281 kB / 1.112 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.7564, allocations: 7.984 kB / 1.112 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7564, allocations: 0 / 1.112 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.795e-05/0.7565, allocations: 5.312 kB / 1.112 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.7565, allocations: 10.38 kB / 1.112 GB, free: 8.281 MB / 0.7136 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 () * 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 8.559e-05/0.7566, allocations: 101 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.7566, allocations: 3.953 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.7567, allocations: 12.25 kB / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7567, allocations: 0 / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7567, allocations: 4 kB / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.7567, allocations: 0 / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.7568, allocations: 130.2 kB / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7568, allocations: 0 / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.601e-05/0.7569, allocations: 4 kB / 1.112 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7569, allocations: 0 / 1.112 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.7569, allocations: 0.875 kB / 1.112 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.757, allocations: 7.953 kB / 1.112 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.757, allocations: 2.5 kB / 1.112 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.7571, allocations: 77.12 kB / 1.112 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/0.7572, allocations: 81.09 kB / 1.112 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.7572, allocations: 3.938 kB / 1.112 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.7573, allocations: 7.188 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.7573, allocations: 11.95 kB / 1.112 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.7574, allocations: 0 / 1.112 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.947e-05/0.7574, allocations: 81.83 kB / 1.112 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7574, allocations: 4.094 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002965/0.7577, allocations: 8 kB / 1.112 GB, free: 7.672 MB / 0.7136 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 () * 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.0001232/0.7579, allocations: 95.25 kB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.283e-05/0.758, allocations: 16 kB / 1.112 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.758, allocations: 4 kB / 1.112 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.758, allocations: 17.81 kB / 1.112 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.7583, allocations: 7.984 kB / 1.112 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.7585, allocations: 79.72 kB / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.7589, allocations: 0.6768 MB / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.359e-05/0.759, allocations: 8 kB / 1.113 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.759, allocations: 7.438 kB / 1.113 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.759, allocations: 0 / 1.113 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of Templates: time 0.002927/0.7619, allocations: 478.3 kB / 1.114 GB, free: 6.277 MB / 0.7136 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)