Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009167/0.0009167, 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.007371/0.007371, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.618/1.618, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.141/3.141, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005581/0.0005579, allocations: 11.28 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4481, allocations: 162.2 MB / 1.074 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001213/0.4494, allocations: 0.5384 MB / 1.075 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00237/0.4518, allocations: 1.537 MB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.981e-05/0.4519, allocations: 4 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.4521, allocations: 11.88 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.099e-05/0.4522, allocations: 23.78 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.4535, allocations: 0.4928 MB / 1.077 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.454, allocations: 415.3 kB / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.4542, allocations: 41.47 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.4544, allocations: 163.5 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.4547, allocations: 131.6 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.4547, allocations: 20 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.4549, allocations: 43.97 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.4549, allocations: 27.92 kB / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.4552, allocations: 165.2 kB / 1.078 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.4557, allocations: 387.1 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4557, allocations: 0 / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4557, allocations: 0 / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.4557, allocations: 0 / 1.078 GB, free: 3.488 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.0009682/0.4567, allocations: 0.5659 MB / 1.079 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.4567, allocations: 8.031 kB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.4569, allocations: 36.73 kB / 1.079 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.4573, allocations: 268.4 kB / 1.079 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.4573, allocations: 20.38 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/0.4574, allocations: 32.38 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.4577, allocations: 156.4 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.4577, allocations: 192 / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.4577, allocations: 7.922 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.4577, allocations: 4 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.4579, allocations: 79.95 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009871/0.4589, allocations: 0.7071 MB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.4591, allocations: 175.6 kB / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.052e-05/0.4592, allocations: 40.84 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.4592, allocations: 4 kB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/0.4596, allocations: 156.7 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.4596, allocations: 4 kB / 1.08 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0005098/0.4601, allocations: 243.4 kB / 1.08 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.4602, allocations: 55.41 kB / 1.081 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.4604, allocations: 183.4 kB / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.763e-05/0.4605, allocations: 41.69 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.4607, allocations: 128.5 kB / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.4608, allocations: 39.45 kB / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.4609, allocations: 53.69 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002553/0.4612, allocations: 330.8 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.4616, allocations: 155.9 kB / 1.081 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.462, allocations: 243.8 kB / 1.082 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.4625, allocations: 403.5 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.4625, allocations: 4.094 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001091/0.4636, allocations: 0.622 MB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.4638, allocations: 160.8 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4638, allocations: 7.938 kB / 1.083 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.4638, allocations: 11.92 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.048e-05/0.4639, allocations: 15.92 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.4639, allocations: 7.938 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.465, allocations: 195.7 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-05/0.465, allocations: 31.97 kB / 1.083 GB, free: 13.91 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,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.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.0002445/0.4653, allocations: 163 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.4653, allocations: 15.81 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.651e-05/0.4654, allocations: 17.81 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4654, allocations: 4 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.4654, allocations: 0 / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4654, allocations: 3.984 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006911/0.4661, allocations: 0.51 MB / 1.084 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4662, allocations: 0 / 1.084 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.4662, allocations: 7.938 kB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4662, allocations: 0 / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.4662, allocations: 11.98 kB / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4662, allocations: 0 / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4662, allocations: 64 / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.4666, allocations: 285.1 kB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.4667, allocations: 104.8 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.4667, allocations: 0 / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.4668, allocations: 4 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/0.4669, allocations: 23.91 kB / 1.084 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.4669, allocations: 8 kB / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001006/0.467, allocations: 119.2 kB / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.467, allocations: 0 / 1.084 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004197/0.4675, allocations: 83.89 kB / 1.084 GB, free: 12.46 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0002466/0.4677, allocations: 115.2 kB / 1.084 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000839/0.4686, allocations: 0.6088 MB / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4686, allocations: 0 / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.4687, allocations: 80.94 kB / 1.085 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.4692, allocations: 52.52 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/0.47, allocations: 378.2 kB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.4704, allocations: 0.7245 MB / 1.086 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.305e-05/0.4705, allocations: 21.55 kB / 1.086 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.4705, allocations: 19.44 kB / 1.086 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.4705, allocations: 0 / 1.086 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of Templates: time 0.01072/0.4812, allocations: 4.34 MB / 1.091 GB, free: 6.082 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)