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.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.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.1-maint.8.1.x/package.mo): time 1.835/1.835, allocations: 293 MB / 309 MB, free: 4.836 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.001514/0.001514, allocations: 182.1 kB / 378.7 MB, free: 1.043 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.72/1.72, allocations: 205.4 MB / 0.6383 GB, free: 8.25 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.0008247/0.000825, allocations: 89.7 kB / 0.7527 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005389/0.0005391, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2922, allocations: 116.4 MB / 0.9905 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6836/0.9759, allocations: 138.1 MB / 1.125 GB, free: 35.4 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.9761, allocations: 74.86 kB / 1.125 GB, free: 35.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.000416/0.9766, allocations: 374.2 kB / 1.126 GB, free: 35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9766, allocations: 0 / 1.126 GB, free: 35 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.9766, allocations: 1 kB / 1.126 GB, free: 35 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.0002161/0.9768, allocations: 307.8 kB / 1.126 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.9769, allocations: 8.094 kB / 1.126 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.9769, allocations: 9.375 kB / 1.126 GB, free: 34.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.396e-05/0.977, allocations: 161.6 kB / 1.126 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.977, allocations: 2.859 kB / 1.126 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.977, allocations: 2.281 kB / 1.126 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.084e-05/0.9771, allocations: 30.27 kB / 1.126 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.9771, allocations: 192 / 1.126 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.9772, allocations: 4.453 kB / 1.126 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.9772, allocations: 0.875 kB / 1.126 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.732e-05/0.9772, allocations: 4.656 kB / 1.126 GB, free: 34.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.9775, allocations: 389.3 kB / 1.127 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.011e-05/0.9775, allocations: 173.1 kB / 1.127 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.9775, allocations: 82.61 kB / 1.127 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.9776, allocations: 75.28 kB / 1.127 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.9776, allocations: 110.8 kB / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.9776, allocations: 0 / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.976e-05/0.9777, allocations: 30.52 kB / 1.127 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.9777, allocations: 127.3 kB / 1.127 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.191e-05/0.9778, allocations: 103.8 kB / 1.127 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.9778, allocations: 25.7 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.894e-05/0.9778, allocations: 83.86 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.9778, allocations: 3.984 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.9779, allocations: 0 / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.9779, allocations: 311 kB / 1.128 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-06/0.9779, allocations: 8 kB / 1.128 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-06/0.9779, allocations: 0 / 1.128 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.365e-05/0.9779, allocations: 75.28 kB / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.978, allocations: 75.28 kB / 1.128 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.811e-05/0.978, allocations: 34.2 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.978, allocations: 85.31 kB / 1.128 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.9781, allocations: 82.61 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.501e-05/0.9781, allocations: 154.6 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.487e-05/0.9781, allocations: 79.72 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/0.9782, allocations: 155.3 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.9782, allocations: 79.22 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.9782, allocations: 75.28 kB / 1.129 GB, free: 31.93 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 6.736e-05/0.9783, allocations: 271.9 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.9784, allocations: 105.7 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.9784, allocations: 108.8 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.941e-05/0.9784, allocations: 176.6 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.681e-05/0.9785, allocations: 188.2 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/0.9785, allocations: 180.2 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.9787, allocations: 405.2 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/0.9787, allocations: 112.9 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/0.9787, allocations: 101 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-05/0.9788, allocations: 180.2 kB / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.9788, allocations: 176.3 kB / 1.131 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-05/0.9788, allocations: 193.2 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-05/0.9789, allocations: 181 kB / 1.131 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.973e-05/0.9789, allocations: 308.5 kB / 1.131 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.979, allocations: 185.6 kB / 1.131 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.979, allocations: 180.2 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.609e-05/0.9791, allocations: 105.6 kB / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.9791, allocations: 180.3 kB / 1.132 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.9792, allocations: 105.6 kB / 1.132 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.199e-05/0.9792, allocations: 82.52 kB / 1.132 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9792, allocations: 0.5625 kB / 1.132 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002639/0.9795, allocations: 0 / 1.132 GB, free: 28.28 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.0001132/0.9796, allocations: 178.6 kB / 1.132 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 3.995e-05/0.9796, allocations: 4.484 kB / 1.132 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9796, allocations: 3.938 kB / 1.132 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.405e-06/0.9796, allocations: 4 kB / 1.132 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.9799, allocations: 0.5231 MB / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.9801, allocations: 158.1 kB / 1.133 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.9803, allocations: 0.6692 MB / 1.133 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.332e-05/0.9803, allocations: 4 kB / 1.133 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.9803, allocations: 7.438 kB / 1.133 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.9803, allocations: 0 / 1.133 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.001758/0.9821, allocations: 158.5 kB / 1.134 GB, free: 26.59 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)