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.MultiOr.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.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 193.2 kB / 16.25 MB, free: 6.621 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.799/1.799, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.661/1.661, allocations: 251.7 MB / 0.5089 GB, free: 3.277 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.001387/0.001387, allocations: 71.84 kB / 0.6218 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.694, allocations: 104.7 MB / 0.724 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.003015/0.697, allocations: 1.656 MB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006607/0.6977, allocations: 320 kB / 0.7259 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.6978, allocations: 4 kB / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.6979, allocations: 15.86 kB / 0.7259 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.755e-05/0.698, allocations: 23.78 kB / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.6983, allocations: 67.88 kB / 0.726 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.6986, allocations: 191.3 kB / 0.7262 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.6988, allocations: 41.48 kB / 0.7263 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.6988, allocations: 67.72 kB / 0.7263 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.699, allocations: 79.67 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.699, allocations: 12 kB / 0.7264 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/0.699, allocations: 20 kB / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.6991, allocations: 39.84 kB / 0.7265 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.6992, allocations: 79.59 kB / 0.7265 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.6994, allocations: 169.4 kB / 0.7267 GB, free: 10.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.6994, allocations: 0 / 0.7267 GB, free: 10.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6994, allocations: 0 / 0.7267 GB, free: 10.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.6995, allocations: 0 / 0.7267 GB, free: 10.28 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008545/0.7003, allocations: 0.4987 MB / 0.7272 GB, free: 9.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.7004, allocations: 8.031 kB / 0.7272 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.7004, allocations: 20.75 kB / 0.7272 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.7007, allocations: 220 kB / 0.7274 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.7007, allocations: 8.375 kB / 0.7274 GB, free: 9.438 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.7007, allocations: 16.38 kB / 0.7274 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.701, allocations: 165.3 kB / 0.7276 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.701, allocations: 4.188 kB / 0.7276 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.701, allocations: 7.938 kB / 0.7276 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.701, allocations: 4 kB / 0.7276 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.7012, allocations: 99.94 kB / 0.7277 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009315/0.7021, allocations: 0.5863 MB / 0.7283 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.7025, allocations: 219.5 kB / 0.7285 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.195e-05/0.7026, allocations: 56.83 kB / 0.7286 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.7026, allocations: 4 kB / 0.7286 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.7028, allocations: 135.2 kB / 0.7287 GB, free: 8.047 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.7028, allocations: 0 / 0.7287 GB, free: 8.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0003945/0.7032, allocations: 216.5 kB / 0.7289 GB, free: 7.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.7033, allocations: 63.36 kB / 0.729 GB, free: 7.758 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.7035, allocations: 183.8 kB / 0.7291 GB, free: 7.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.7035, allocations: 29.7 kB / 0.7292 GB, free: 7.535 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.7036, allocations: 116.5 kB / 0.7293 GB, free: 7.418 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.7036, allocations: 35.84 kB / 0.7293 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.7037, allocations: 61.62 kB / 0.7294 GB, free: 7.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.7039, allocations: 322.8 kB / 0.7297 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/0.704, allocations: 51.97 kB / 0.7297 GB, free: 6.941 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.7041, allocations: 112.8 kB / 0.7298 GB, free: 6.812 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.7044, allocations: 129.9 kB / 0.7299 GB, free: 6.664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7044, allocations: 4 kB / 0.73 GB, free: 6.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002583/0.7046, allocations: 183.7 kB / 0.7301 GB, free: 6.477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7047, allocations: 8 kB / 0.7301 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7047, allocations: 3.938 kB / 0.7301 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.7047, allocations: 4 kB / 0.7301 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.7048, allocations: 12.12 kB / 0.7302 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.7048, allocations: 11.98 kB / 0.7302 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.705, allocations: 35.81 kB / 0.7302 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.705, allocations: 12 kB / 0.7302 GB, free: 6.391 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booPul5.pulseStart,$PRE.booPul5.pulseStart,booPul4.pulseStart,$PRE.booPul4.pulseStart,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul1.pulseStart,$PRE.booPul1.pulseStart,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr5.u[5],mulOr5.u[4],mulOr5.u[3],mulOr5.u[1],mulOr2.y,mulOr2.u[2],mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001545/0.7052, allocations: 147.7 kB / 0.7304 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.7052, allocations: 15.81 kB / 0.7304 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.7053, allocations: 33.11 kB / 0.7304 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7053, allocations: 0 / 0.7304 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7054, allocations: 0 / 0.7304 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.7054, allocations: 0 / 0.7304 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005737/0.7059, allocations: 0.5061 MB / 0.7309 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.706, allocations: 0 / 0.7309 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.706, allocations: 4 kB / 0.7309 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.706, allocations: 0 / 0.7309 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.706, allocations: 4 kB / 0.7309 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.706, allocations: 8 kB / 0.7309 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.706, allocations: 3.984 kB / 0.7309 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.7063, allocations: 265.4 kB / 0.7312 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.7064, allocations: 88.95 kB / 0.7312 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.7064, allocations: 4 kB / 0.7313 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.7066, allocations: 28.05 kB / 0.7313 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.7067, allocations: 43.86 kB / 0.7313 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.7068, allocations: 4 kB / 0.7313 GB, free: 5.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.557e-05/0.7069, allocations: 121.6 kB / 0.7314 GB, free: 5.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7069, allocations: 0 / 0.7314 GB, free: 5.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002633/0.7071, allocations: 39.91 kB / 0.7315 GB, free: 4.996 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: 20 (mulOr5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[2],mulOr2.y,mulOr5.u[1],mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001791/0.7073, allocations: 119.1 kB / 0.7316 GB, free: 4.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.7076, allocations: 163.9 kB / 0.7317 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7076, allocations: 0 / 0.7317 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.7078, allocations: 79 kB / 0.7318 GB, free: 4.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.7082, allocations: 52.12 kB / 0.7319 GB, free: 4.586 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/0.7091, allocations: 395.9 kB / 0.7323 GB, free: 4.172 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.7095, allocations: 0.7164 MB / 0.733 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001102/0.7096, allocations: 41.5 kB / 0.733 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.7097, allocations: 15.44 kB / 0.733 GB, free: 3.371 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.7097, allocations: 0 / 0.733 GB, free: 3.371 MB / 0.545 GB Notification: Performance of Templates: time 0.005474/0.7152, allocations: 2.217 MB / 0.7352 GB, free: 1.18 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)