Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_1.6_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_1.6_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.000872/0.0008718, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007333/0.007333, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.964/2.964, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004046, allocations: 10.03 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4537/0.4541, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001218/0.4554, allocations: 0.5461 MB / 1.075 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.4576, allocations: 1.533 MB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.457e-05/0.4577, allocations: 7.938 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.4579, allocations: 7.922 kB / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.07e-05/0.458, allocations: 23.78 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.4593, allocations: 0.4966 MB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.4598, allocations: 415.2 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.46, allocations: 41.47 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.4602, allocations: 159.7 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.4604, allocations: 131.6 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.4605, allocations: 20 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.4606, allocations: 39.92 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.4607, allocations: 31.92 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.4609, allocations: 169.2 kB / 1.078 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.4613, allocations: 383.1 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4614, allocations: 0 / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.847e-06/0.4614, allocations: 0 / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.4614, allocations: 0 / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008069/0.4622, allocations: 0.5698 MB / 1.079 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.4623, allocations: 8.031 kB / 1.079 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.4624, allocations: 32.69 kB / 1.079 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.4628, allocations: 268.4 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/0.4628, allocations: 16.38 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.77e-05/0.4629, allocations: 32.38 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.4632, allocations: 152.2 kB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4633, allocations: 192 / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.4633, allocations: 15.92 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.4633, allocations: 4 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.4635, allocations: 87.88 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00097/0.4644, allocations: 0.7032 MB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.4647, allocations: 167.7 kB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.315e-05/0.4648, allocations: 44.91 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.4648, allocations: 0 / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.4651, allocations: 159.3 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 2.124e-06/0.4651, allocations: 0 / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004578/0.4656, allocations: 246.5 kB / 1.08 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.4657, allocations: 63.34 kB / 1.081 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.4658, allocations: 183.4 kB / 1.081 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.448e-05/0.4659, allocations: 45.69 kB / 1.081 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.466, allocations: 120.5 kB / 1.081 GB, free: 412 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.4661, allocations: 43.45 kB / 1.081 GB, free: 368 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.915e-05/0.4662, allocations: 53.69 kB / 1.081 GB, free: 308 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4663, allocations: 326.8 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.4666, allocations: 159.9 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.467, allocations: 243.8 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.4674, allocations: 403.5 kB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4675, allocations: 4 kB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009897/0.4685, allocations: 0.6181 MB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.4686, allocations: 165.9 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4686, allocations: 3.938 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.4686, allocations: 4 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.501e-05/0.4687, allocations: 24.2 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4687, allocations: 4 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009375/0.4697, allocations: 191.7 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.625e-05/0.4697, allocations: 27.98 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,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): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001933/0.4699, allocations: 165.7 kB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.47, allocations: 11.81 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.47, allocations: 25.81 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.47, allocations: 4.094 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4701, allocations: 3.938 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4701, allocations: 0 / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.4707, allocations: 0.5113 MB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4707, allocations: 0 / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.4707, allocations: 12 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4707, allocations: 0 / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.4707, allocations: 7.984 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4707, allocations: 0 / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4707, allocations: 0 / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.471, allocations: 284.7 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.4711, allocations: 92.86 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.4711, allocations: 11.98 kB / 1.084 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.213e-05/0.4712, allocations: 0 / 1.084 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.4713, allocations: 23.97 kB / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4713, allocations: 12 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.351e-05/0.4714, allocations: 119.2 kB / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4714, allocations: 0 / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003605/0.4717, allocations: 79.89 kB / 1.084 GB, free: 12.53 MB / 0.8419 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],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * 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.0002209/0.472, allocations: 115.2 kB / 1.084 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007749/0.4727, allocations: 0.6201 MB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4728, allocations: 0 / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.4729, allocations: 77.62 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.4733, allocations: 56.52 kB / 1.085 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.4739, allocations: 368.8 kB / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.4743, allocations: 0.7323 MB / 1.086 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.203e-05/0.4744, allocations: 21.55 kB / 1.086 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.4744, allocations: 23.44 kB / 1.086 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.4744, allocations: 0 / 1.086 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.008847/0.4833, allocations: 4.324 MB / 1.091 GB, free: 6.148 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)