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.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001959/0.001959, allocations: 192.4 kB / 16.14 MB, free: 6.738 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.667/1.667, allocations: 205.1 MB / 222 MB, free: 5.004 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.669/1.669, allocations: 251.6 MB / 0.5088 GB, free: 3.332 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.001657/0.001658, allocations: 71.91 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7825/0.7842, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.003017/0.7873, allocations: 1.653 MB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006236/0.7879, allocations: 324 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.788, allocations: 4 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.7882, allocations: 15.86 kB / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.867e-05/0.7882, allocations: 27.77 kB / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.7885, allocations: 59.95 kB / 0.7258 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.7887, allocations: 179.2 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.7889, allocations: 37.48 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.498e-05/0.789, allocations: 67.7 kB / 0.7261 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.7891, allocations: 75.67 kB / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.7891, allocations: 12 kB / 0.7262 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.228e-05/0.7891, allocations: 8 kB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.7892, allocations: 39.84 kB / 0.7262 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.799e-05/0.7893, allocations: 71.58 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.7895, allocations: 173.3 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7895, allocations: 0 / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7895, allocations: 0 / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.7895, allocations: 0 / 0.7265 GB, free: 10.4 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.000896/0.7904, allocations: 0.491 MB / 0.727 GB, free: 9.859 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.7905, allocations: 8.031 kB / 0.727 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.7905, allocations: 16.75 kB / 0.727 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.7908, allocations: 221.7 kB / 0.7272 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.7908, allocations: 16.3 kB / 0.7272 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.7908, allocations: 16.38 kB / 0.7272 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.7911, allocations: 165.4 kB / 0.7274 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7911, allocations: 192 / 0.7274 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.7912, allocations: 3.938 kB / 0.7274 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.7912, allocations: 4 kB / 0.7274 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.7913, allocations: 103.9 kB / 0.7275 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.7923, allocations: 0.5824 MB / 0.728 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.7926, allocations: 215.6 kB / 0.7283 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.7927, allocations: 56.84 kB / 0.7283 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.7927, allocations: 4 kB / 0.7283 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.7929, allocations: 143.2 kB / 0.7284 GB, free: 8.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.7929, allocations: 0 / 0.7284 GB, free: 8.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0003727/0.7933, allocations: 207.9 kB / 0.7286 GB, free: 7.973 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.7933, allocations: 71.34 kB / 0.7287 GB, free: 7.891 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.7935, allocations: 170.9 kB / 0.7289 GB, free: 7.715 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.7935, allocations: 33.7 kB / 0.7289 GB, free: 7.676 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.7936, allocations: 116.5 kB / 0.729 GB, free: 7.559 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.7936, allocations: 43.81 kB / 0.7291 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/0.7937, allocations: 53.64 kB / 0.7291 GB, free: 7.457 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7938, allocations: 330.8 kB / 0.7294 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.7939, allocations: 51.97 kB / 0.7295 GB, free: 7.074 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.794, allocations: 103.7 kB / 0.7296 GB, free: 6.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.7942, allocations: 133.9 kB / 0.7297 GB, free: 6.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7942, allocations: 0 / 0.7297 GB, free: 6.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002404/0.7944, allocations: 187.5 kB / 0.7299 GB, free: 6.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.7944, allocations: 4 kB / 0.7299 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7945, allocations: 7.938 kB / 0.7299 GB, free: 6.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7945, allocations: 4.188 kB / 0.7299 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.7946, allocations: 23.92 kB / 0.7299 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.7946, allocations: 4 kB / 0.7299 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.7948, allocations: 35.81 kB / 0.73 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.7948, allocations: 11.98 kB / 0.73 GB, free: 6.523 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.0001191/0.7949, allocations: 147.7 kB / 0.7301 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.7949, allocations: 19.81 kB / 0.7301 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.795, allocations: 21.12 kB / 0.7302 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.795, allocations: 4 kB / 0.7302 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.795, allocations: 0 / 0.7302 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.795, allocations: 3.984 kB / 0.7302 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.7955, allocations: 0.4944 MB / 0.7306 GB, free: 5.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7955, allocations: 3.984 kB / 0.7306 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.7955, allocations: 11.92 kB / 0.7307 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7956, allocations: 4 kB / 0.7307 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.7956, allocations: 4 kB / 0.7307 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.7956, allocations: 0 / 0.7307 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7956, allocations: 4 kB / 0.7307 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.7958, allocations: 262 kB / 0.7309 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.7959, allocations: 89.05 kB / 0.731 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.7959, allocations: 15.92 kB / 0.731 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.7961, allocations: 23.97 kB / 0.731 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.7962, allocations: 35.91 kB / 0.7311 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.7962, allocations: 7.938 kB / 0.7311 GB, free: 5.289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.826e-05/0.7963, allocations: 126 kB / 0.7312 GB, free: 5.168 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7963, allocations: 0 / 0.7312 GB, free: 5.168 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002547/0.7966, allocations: 39.91 kB / 0.7312 GB, free: 5.129 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.0001513/0.7967, allocations: 115.2 kB / 0.7314 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.797, allocations: 147.8 kB / 0.7315 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.797, allocations: 0 / 0.7315 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.7971, allocations: 71.91 kB / 0.7316 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.7975, allocations: 44.53 kB / 0.7316 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.7981, allocations: 396 kB / 0.732 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.7984, allocations: 0.7206 MB / 0.7327 GB, free: 3.594 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.189e-05/0.7985, allocations: 33.52 kB / 0.7327 GB, free: 3.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.7985, allocations: 19.44 kB / 0.7327 GB, free: 3.539 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.7986, allocations: 4 kB / 0.7327 GB, free: 3.535 MB / 0.545 GB Notification: Performance of Templates: time 0.004749/0.8033, allocations: 2.105 MB / 0.7348 GB, free: 1.457 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)