Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002036, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.708/1.708, allocations: 251.7 MB / 0.5092 GB, free: 3.18 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.91 kB / 0.6223 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6955/0.6974, allocations: 104.7 MB / 0.7245 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002857/0.7003, allocations: 1.436 MB / 0.7259 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005451/0.7009, allocations: 228.2 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.701, allocations: 3.938 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.701, allocations: 11.88 kB / 0.7262 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.7011, allocations: 15.84 kB / 0.7262 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.7013, allocations: 23.92 kB / 0.7262 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.7015, allocations: 91.7 kB / 0.7263 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.7016, allocations: 12.19 kB / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.233e-05/0.7017, allocations: 27.92 kB / 0.7263 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.7018, allocations: 35.83 kB / 0.7264 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.7018, allocations: 7.938 kB / 0.7264 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.993e-05/0.7018, allocations: 8 kB / 0.7264 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.7019, allocations: 15.92 kB / 0.7264 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.897e-05/0.702, allocations: 35.86 kB / 0.7264 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.7022, allocations: 77.72 kB / 0.7265 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.7022, allocations: 0 / 0.7265 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7023, allocations: 0 / 0.7265 GB, free: 10.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.7023, allocations: 0 / 0.7265 GB, free: 10.91 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007291/0.703, allocations: 402.5 kB / 0.7269 GB, free: 10.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.7031, allocations: 8.031 kB / 0.7269 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.7031, allocations: 12.84 kB / 0.7269 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.7033, allocations: 188.2 kB / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.7033, allocations: 384 / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.7034, allocations: 8.375 kB / 0.7271 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.7035, allocations: 62.17 kB / 0.7271 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.7035, allocations: 3.938 kB / 0.7272 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.7036, allocations: 0 / 0.7272 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.7036, allocations: 4 kB / 0.7272 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.19e-05/0.7037, allocations: 31.98 kB / 0.7272 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005785/0.7042, allocations: 308.7 kB / 0.7275 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.7044, allocations: 50.55 kB / 0.7275 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.374e-05/0.7044, allocations: 24.84 kB / 0.7276 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.7044, allocations: 4 kB / 0.7276 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.7046, allocations: 95.39 kB / 0.7276 GB, free: 9.566 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 3.086e-06/0.7046, allocations: 3.984 kB / 0.7277 GB, free: 9.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003761/0.705, allocations: 117.5 kB / 0.7278 GB, free: 9.441 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.7051, allocations: 51.41 kB / 0.7278 GB, free: 9.379 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.7053, allocations: 133.8 kB / 0.7279 GB, free: 9.238 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.7053, allocations: 25.7 kB / 0.728 GB, free: 9.207 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.7054, allocations: 88.14 kB / 0.728 GB, free: 9.117 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.7054, allocations: 27.64 kB / 0.7281 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.7055, allocations: 29.72 kB / 0.7281 GB, free: 9.055 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7056, allocations: 326.8 kB / 0.7284 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.687e-05/0.7057, allocations: 23.98 kB / 0.7284 GB, free: 8.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.7058, allocations: 43.42 kB / 0.7285 GB, free: 8.648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.7059, allocations: 67.38 kB / 0.7285 GB, free: 8.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7059, allocations: 0 / 0.7285 GB, free: 8.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001495/0.706, allocations: 101.5 kB / 0.7286 GB, free: 8.465 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.7061, allocations: 8 kB / 0.7286 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7061, allocations: 0 / 0.7286 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.7061, allocations: 4.469 kB / 0.7287 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.7062, allocations: 11.88 kB / 0.7287 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.7062, allocations: 0 / 0.7287 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.7063, allocations: 28.06 kB / 0.7287 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.7063, allocations: 4 kB / 0.7287 GB, free: 8.41 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,and1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.7065, allocations: 126.7 kB / 0.7288 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.7065, allocations: 7.906 kB / 0.7288 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.7065, allocations: 12.38 kB / 0.7288 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.7065, allocations: 0 / 0.7288 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7066, allocations: 0 / 0.7288 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.7066, allocations: 3.984 kB / 0.7288 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.7068, allocations: 193.6 kB / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7068, allocations: 0 / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.7068, allocations: 11.92 kB / 0.729 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7068, allocations: 4 kB / 0.729 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.7068, allocations: 4 kB / 0.729 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7068, allocations: 0 / 0.729 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.7068, allocations: 0 / 0.729 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.707, allocations: 124.9 kB / 0.7292 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.7071, allocations: 88.95 kB / 0.7292 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.7071, allocations: 0 / 0.7292 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.7072, allocations: 19.97 kB / 0.7293 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.7073, allocations: 15.98 kB / 0.7293 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.7073, allocations: 4 kB / 0.7293 GB, free: 7.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.339e-05/0.7074, allocations: 95.27 kB / 0.7294 GB, free: 7.617 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7074, allocations: 0 / 0.7294 GB, free: 7.617 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001953/0.7076, allocations: 16 kB / 0.7294 GB, free: 7.602 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001717/0.7078, allocations: 113.4 kB / 0.7295 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.708, allocations: 75.8 kB / 0.7296 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.708, allocations: 0 / 0.7296 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.7081, allocations: 32.27 kB / 0.7296 GB, free: 7.379 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.7084, allocations: 24.11 kB / 0.7296 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.7089, allocations: 190.5 kB / 0.7298 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.7092, allocations: 0.6924 MB / 0.7305 GB, free: 6.418 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.044e-05/0.7093, allocations: 16.48 kB / 0.7305 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.7093, allocations: 11.44 kB / 0.7305 GB, free: 6.395 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.7093, allocations: 0 / 0.7305 GB, free: 6.395 MB / 0.545 GB Notification: Performance of Templates: time 0.003872/0.7132, allocations: 1.257 MB / 0.7317 GB, free: 5.148 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)