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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001503/0.001503, allocations: 195.1 kB / 16.14 MB, free: 6.688 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.594/1.594, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.074/3.074, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 62.91 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4085, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.003166/0.4117, allocations: 0.8889 MB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.4143, allocations: 1.541 MB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.4145, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.4147, allocations: 11.86 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.4149, allocations: 27.78 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.4165, allocations: 489.8 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007381/0.4173, allocations: 427.1 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.4176, allocations: 41.47 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.418, allocations: 155.8 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.4184, allocations: 143.5 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.4185, allocations: 31.94 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.4187, allocations: 35.98 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.898e-05/0.4188, allocations: 43.83 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.419, allocations: 143.5 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.4196, allocations: 391.2 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.4196, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4196, allocations: 0 / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.4196, allocations: 0 / 1.072 GB, free: 6.543 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.001024/0.4206, allocations: 0.6438 MB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4207, allocations: 8.031 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.4208, allocations: 36.75 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.4212, allocations: 260.5 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.4213, allocations: 16.38 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/0.4214, allocations: 32.36 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.4217, allocations: 153.6 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4217, allocations: 4.188 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.4218, allocations: 11.94 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.4218, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.4219, allocations: 87.89 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009999/0.4229, allocations: 0.7032 MB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.4232, allocations: 167.7 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.4233, allocations: 45.02 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.4233, allocations: 3.938 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.4235, allocations: 152.9 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.4236, allocations: 4 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0005596/0.4241, allocations: 251 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.4242, allocations: 55.41 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.4244, allocations: 183.5 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/0.4245, allocations: 45.64 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.4247, allocations: 124.4 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.4247, allocations: 43.45 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.4249, allocations: 113.6 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.4251, allocations: 334.8 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.4256, allocations: 155.9 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.426, allocations: 234.1 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.4265, allocations: 417.2 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4265, allocations: 4 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001144/0.4276, allocations: 0.6181 MB / 1.076 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.4278, allocations: 164.6 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.4278, allocations: 11.88 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.4279, allocations: 4 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.173e-05/0.4279, allocations: 11.92 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.4279, allocations: 4 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008531/0.4288, allocations: 143.7 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/0.4289, allocations: 31.97 kB / 1.077 GB, free: 0.8906 MB / 0.8262 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.000241/0.4291, allocations: 157.7 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.4292, allocations: 15.81 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/0.4292, allocations: 25.81 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4292, allocations: 0 / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4293, allocations: 0 / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.4293, allocations: 3.984 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007166/0.43, allocations: 0.506 MB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.43, allocations: 7.984 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.43, allocations: 0 / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.4301, allocations: 4 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.4301, allocations: 16.05 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.4301, allocations: 0 / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4301, allocations: 7.938 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.4305, allocations: 276.8 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.4306, allocations: 96.84 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.4306, allocations: 4 kB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.4307, allocations: 11.94 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.4308, allocations: 19.97 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.4308, allocations: 8 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001046/0.4309, allocations: 119.2 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4309, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004185/0.4313, allocations: 79.98 kB / 1.078 GB, free: 15.44 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.0002208/0.4316, allocations: 111.2 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008358/0.4324, allocations: 0.6145 MB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4324, allocations: 0 / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.4326, allocations: 81.62 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.433, allocations: 47.83 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/0.4337, allocations: 370.2 kB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.4341, allocations: 0.7206 MB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.605e-05/0.4342, allocations: 25.53 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.4343, allocations: 15.44 kB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.4343, allocations: 4 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of Templates: time 0.009776/0.4441, allocations: 4.342 MB / 1.084 GB, free: 9.062 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)