Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.8/1.8, 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.001422/0.001422, allocations: 188.1 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.826/1.826, allocations: 205.4 MB / 0.6367 GB, free: 8.609 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.0008174/0.0008174, allocations: 98.03 kB / 0.751 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 8 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3043, allocations: 116.3 MB / 0.9884 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7964/1.101, allocations: 138.1 MB / 1.123 GB, free: 36.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/1.101, allocations: 67.11 kB / 1.123 GB, free: 36.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006338/1.102, allocations: 380.9 kB / 1.124 GB, free: 35.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.397e-06/1.102, allocations: 0.5312 kB / 1.124 GB, free: 35.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.102, allocations: 0 / 1.124 GB, free: 35.86 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002776/1.102, allocations: 309.3 kB / 1.124 GB, free: 35.51 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/1.102, allocations: 8.031 kB / 1.124 GB, free: 35.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/1.102, allocations: 2.062 kB / 1.124 GB, free: 35.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/1.102, allocations: 160.2 kB / 1.124 GB, free: 35.31 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/1.102, allocations: 3.562 kB / 1.124 GB, free: 35.31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/1.102, allocations: 0 / 1.124 GB, free: 35.31 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/1.103, allocations: 40.23 kB / 1.124 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.103, allocations: 0 / 1.124 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/1.103, allocations: 0 / 1.124 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.103, allocations: 0.5469 kB / 1.124 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/1.103, allocations: 3.938 kB / 1.124 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/1.103, allocations: 381.8 kB / 1.125 GB, free: 34.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/1.103, allocations: 171.4 kB / 1.125 GB, free: 34.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/1.103, allocations: 77.69 kB / 1.125 GB, free: 34.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/1.103, allocations: 108.6 kB / 1.125 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/1.103, allocations: 2.031 kB / 1.125 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.663e-05/1.103, allocations: 29.64 kB / 1.125 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/1.103, allocations: 130.1 kB / 1.125 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/1.103, allocations: 97.56 kB / 1.125 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/1.103, allocations: 25.7 kB / 1.125 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/1.103, allocations: 80.14 kB / 1.125 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-06/1.103, allocations: 0 / 1.125 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/1.103, allocations: 0 / 1.125 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/1.103, allocations: 321.4 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-06/1.103, allocations: 0.8438 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-06/1.103, allocations: 0 / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.784e-05/1.103, allocations: 75.28 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/1.104, allocations: 79.41 kB / 1.126 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.851e-05/1.104, allocations: 37.11 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/1.104, allocations: 79.83 kB / 1.126 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/1.104, allocations: 79.91 kB / 1.126 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.661e-05/1.104, allocations: 154.5 kB / 1.126 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.761e-05/1.104, allocations: 79.28 kB / 1.126 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-05/1.104, allocations: 155.1 kB / 1.126 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/1.104, allocations: 83.16 kB / 1.126 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/1.104, allocations: 79.44 kB / 1.126 GB, free: 32.89 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 (0): * Single equations (assignments): 0 * 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.458e-05/1.104, allocations: 268.4 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/1.104, allocations: 105.5 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/1.104, allocations: 104.1 kB / 1.127 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.525e-05/1.104, allocations: 181.5 kB / 1.127 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.201e-05/1.104, allocations: 187.8 kB / 1.127 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.155e-05/1.104, allocations: 180.3 kB / 1.127 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/1.104, allocations: 412.5 kB / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/1.104, allocations: 106 kB / 1.128 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/1.104, allocations: 105 kB / 1.128 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.575e-05/1.104, allocations: 180.2 kB / 1.128 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/1.105, allocations: 177.2 kB / 1.128 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.525e-05/1.105, allocations: 191.7 kB / 1.128 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.74e-05/1.105, allocations: 176.9 kB / 1.129 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.955e-05/1.105, allocations: 304.8 kB / 1.129 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/1.105, allocations: 193.9 kB / 1.129 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/1.105, allocations: 180.2 kB / 1.129 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.194e-05/1.105, allocations: 105 kB / 1.129 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/1.105, allocations: 180.2 kB / 1.13 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/1.105, allocations: 108.7 kB / 1.13 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.773e-05/1.105, allocations: 79.84 kB / 1.13 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.105, allocations: 0 / 1.13 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002418/1.105, allocations: 0 / 1.13 GB, free: 29.24 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 (0): * Single equations (assignments): 0 * 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.000166/1.105, allocations: 174.5 kB / 1.13 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.304e-05/1.106, allocations: 496 / 1.13 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.106, allocations: 4 kB / 1.13 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/1.106, allocations: 8.688 kB / 1.13 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/1.106, allocations: 0.5192 MB / 1.13 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/1.106, allocations: 154.4 kB / 1.131 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/1.106, allocations: 0.6765 MB / 1.131 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.126e-05/1.106, allocations: 0 / 1.131 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/1.106, allocations: 11.44 kB / 1.131 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/1.106, allocations: 0.9375 kB / 1.131 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.002037/1.108, allocations: 146.9 kB / 1.131 GB, free: 27.56 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)