Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.689/1.689, allocations: 297.8 MB / 313.7 MB, free: 128 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.001459/0.001459, allocations: 184.4 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.321/1.321, allocations: 223.2 MB / 0.6626 GB, free: 4.27 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.0007437/0.0007436, allocations: 94.61 kB / 0.7808 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005596/0.0005598, allocations: 18.75 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6424/0.643, allocations: 120.3 MB / 1.026 GB, free: 55.79 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1794/0.8225, allocations: 140.3 MB / 1.163 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.8228, allocations: 67.91 kB / 1.163 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004298/0.8232, allocations: 372.9 kB / 1.164 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8232, allocations: 0 / 1.164 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.8232, allocations: 4.062 kB / 1.164 GB, free: 2.504 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.0001955/0.8234, allocations: 306.5 kB / 1.164 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.8235, allocations: 8.891 kB / 1.164 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.8235, allocations: 1.812 kB / 1.164 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.554e-05/0.8236, allocations: 170.8 kB / 1.164 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.8236, allocations: 1.406 kB / 1.164 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.8236, allocations: 4.375 kB / 1.164 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.716e-05/0.8237, allocations: 27.64 kB / 1.164 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.8237, allocations: 0.7812 kB / 1.164 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.8237, allocations: 7.938 kB / 1.164 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.8237, allocations: 1.391 kB / 1.164 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.469e-05/0.8238, allocations: 2.156 kB / 1.164 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.824, allocations: 389.5 kB / 1.165 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/0.8241, allocations: 169.6 kB / 1.165 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.8241, allocations: 80.94 kB / 1.165 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.8241, allocations: 75.91 kB / 1.165 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.8241, allocations: 107.5 kB / 1.165 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.8241, allocations: 5.062 kB / 1.165 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 5.94e-05/0.8242, allocations: 34.16 kB / 1.165 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.8242, allocations: 129.6 kB / 1.165 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.878e-05/0.8243, allocations: 95.97 kB / 1.165 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.769e-06/0.8243, allocations: 26.33 kB / 1.165 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.342e-05/0.8243, allocations: 81.3 kB / 1.165 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.8243, allocations: 0 / 1.165 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-06/0.8243, allocations: 0 / 1.165 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.8244, allocations: 319.2 kB / 1.166 GB, free: 332 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-06/0.8244, allocations: 0.9375 kB / 1.166 GB, free: 332 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-06/0.8244, allocations: 0 / 1.166 GB, free: 332 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.358e-05/0.8244, allocations: 80.72 kB / 1.166 GB, free: 252 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.8244, allocations: 75.28 kB / 1.166 GB, free: 176 kB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.923e-05/0.8245, allocations: 37.62 kB / 1.166 GB, free: 136 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.8245, allocations: 84.78 kB / 1.166 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.442e-05/0.8246, allocations: 75.89 kB / 1.166 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.135e-05/0.8246, allocations: 152.4 kB / 1.166 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.383e-05/0.8247, allocations: 79.78 kB / 1.166 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.865e-05/0.8247, allocations: 157.1 kB / 1.166 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.198e-05/0.8248, allocations: 80.41 kB / 1.166 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.8248, allocations: 81.91 kB / 1.167 GB, free: 15.44 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 (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 0.0001029/0.8249, allocations: 264 kB / 1.167 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.825, allocations: 106.1 kB / 1.167 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.825, allocations: 109.2 kB / 1.167 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-05/0.8251, allocations: 178.5 kB / 1.167 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.416e-05/0.8252, allocations: 188.9 kB / 1.167 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-05/0.8252, allocations: 182.2 kB / 1.168 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.8254, allocations: 400.8 kB / 1.168 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.239e-05/0.8255, allocations: 107 kB / 1.168 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.8255, allocations: 106.2 kB / 1.168 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.045e-05/0.8256, allocations: 187.2 kB / 1.168 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.8256, allocations: 176.8 kB / 1.168 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.825e-05/0.8257, allocations: 178.6 kB / 1.169 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-05/0.8258, allocations: 185.5 kB / 1.169 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.8259, allocations: 309.2 kB / 1.169 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.826, allocations: 185.9 kB / 1.169 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.826, allocations: 183.3 kB / 1.169 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.8261, allocations: 103.4 kB / 1.17 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.8262, allocations: 181.9 kB / 1.17 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.8262, allocations: 110.4 kB / 1.17 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.016e-05/0.8263, allocations: 75.98 kB / 1.17 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8263, allocations: 2.844 kB / 1.17 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002548/0.8265, allocations: 4 kB / 1.17 GB, free: 11.82 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 (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.0001362/0.8267, allocations: 172.4 kB / 1.17 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 3.782e-05/0.8267, allocations: 5.703 kB / 1.17 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8267, allocations: 0 / 1.17 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.8267, allocations: 0 / 1.17 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.8271, allocations: 0.5308 MB / 1.171 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.8273, allocations: 157.7 kB / 1.171 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.8275, allocations: 0.6733 MB / 1.171 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.336e-06/0.8275, allocations: 0 / 1.171 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.8276, allocations: 7.438 kB / 1.171 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.8276, allocations: 1.031 kB / 1.171 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of Templates: time 0.00166/0.8292, allocations: 160 kB / 1.172 GB, free: 10.14 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)