Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001021/0.001021, allocations: 96.62 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.009756/0.009756, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.634/1.634, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.133/3.133, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004796, allocations: 14.72 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4031, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001106/0.4043, allocations: 0.5461 MB / 1.075 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.4062, allocations: 1.525 MB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.4063, allocations: 3.938 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.4064, allocations: 15.94 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.4064, allocations: 27.77 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.4076, allocations: 0.4934 MB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.4081, allocations: 415.2 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.4083, allocations: 49.45 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.4085, allocations: 155.7 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.4086, allocations: 127.6 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.4087, allocations: 24 kB / 1.077 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.4088, allocations: 39.92 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.4089, allocations: 35.91 kB / 1.078 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.409, allocations: 161.2 kB / 1.078 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.4094, allocations: 387.1 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4095, allocations: 0 / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4095, allocations: 4 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4095, allocations: 3.938 kB / 1.078 GB, free: 3.539 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.0006377/0.4101, allocations: 0.5698 MB / 1.079 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.4102, allocations: 11.97 kB / 1.079 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.363e-05/0.4103, allocations: 32.73 kB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.4106, allocations: 256.5 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.4106, allocations: 20.36 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.4107, allocations: 28.38 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.411, allocations: 157.6 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.411, allocations: 192 / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.411, allocations: 15.92 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.411, allocations: 0 / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.4112, allocations: 83.89 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008625/0.412, allocations: 0.7071 MB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.4123, allocations: 167.7 kB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.476e-05/0.4124, allocations: 40.84 kB / 1.08 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.4124, allocations: 4 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.4126, allocations: 164.7 kB / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.4126, allocations: 0 / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004527/0.4131, allocations: 243.2 kB / 1.08 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.4131, allocations: 63.34 kB / 1.081 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.4133, allocations: 183.4 kB / 1.081 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/0.4134, allocations: 49.69 kB / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4135, allocations: 116.5 kB / 1.081 GB, free: 412 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.4135, allocations: 43.45 kB / 1.081 GB, free: 368 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/0.4136, allocations: 53.69 kB / 1.081 GB, free: 308 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4138, allocations: 330.8 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.4141, allocations: 155.9 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.4145, allocations: 242.1 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.4149, allocations: 405.4 kB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4149, allocations: 0 / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009886/0.4159, allocations: 0.6186 MB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.669e-05/0.416, allocations: 168.4 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4161, allocations: 7.938 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4161, allocations: 4 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.731e-05/0.4161, allocations: 11.92 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4161, allocations: 4 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000938/0.4171, allocations: 196 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.4172, allocations: 35.97 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.0001809/0.4174, allocations: 154.7 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.4174, allocations: 19.75 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.971e-05/0.4174, allocations: 25.81 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4175, allocations: 4 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4175, allocations: 0 / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.4175, allocations: 3.984 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.4181, allocations: 0.5099 MB / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4181, allocations: 0 / 1.084 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/0.4181, allocations: 8 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4181, allocations: 0 / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4181, allocations: 7.984 kB / 1.084 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4181, allocations: 4 kB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4181, allocations: 0 / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.4185, allocations: 284.5 kB / 1.084 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.4185, allocations: 96.84 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.4186, allocations: 8 kB / 1.084 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/0.4186, allocations: 0 / 1.084 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.4187, allocations: 19.97 kB / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.4187, allocations: 12 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.169e-05/0.4188, allocations: 119.2 kB / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4188, allocations: 0 / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003768/0.4192, allocations: 83.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.0002101/0.4194, allocations: 111.2 kB / 1.084 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000768/0.4202, allocations: 0.6207 MB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4202, allocations: 0 / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.4203, allocations: 77.45 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.0004349/0.4208, allocations: 47.89 kB / 1.085 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005969/0.4214, allocations: 368.9 kB / 1.086 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.4217, allocations: 0.7284 MB / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.217e-05/0.4218, allocations: 25.53 kB / 1.086 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.4218, allocations: 23.42 kB / 1.086 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4218, allocations: 0 / 1.086 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of Templates: time 0.008048/0.4299, allocations: 4.318 MB / 1.091 GB, free: 6.16 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)