Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.288/2.288, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001701, allocations: 177.2 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.486/2.486, allocations: 205.4 MB / 0.5764 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 90.06 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004745, allocations: 12.88 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2363, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2229/0.4592, allocations: 131.6 MB / 1.027 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.4595, allocations: 71.95 kB / 1.027 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009846/0.4694, allocations: 2.153 MB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4694, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.15e-05/0.4695, allocations: 4 kB / 1.029 GB, free: 11.46 MB / 0.6823 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.001152/0.4706, allocations: 487.2 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.4707, allocations: 8.031 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.335e-05/0.4708, allocations: 46.55 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.4709, allocations: 19.81 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.4712, allocations: 222.8 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.4712, allocations: 12 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.4713, allocations: 23.94 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.4717, allocations: 159.2 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4717, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.4718, allocations: 4 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.4718, allocations: 4 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.4721, allocations: 95.94 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.4737, allocations: 0.6176 MB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.4742, allocations: 207.6 kB / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.4742, allocations: 4 kB / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.4745, allocations: 137.1 kB / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 3.226e-06/0.4746, allocations: 0 / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0006777/0.4753, allocations: 214.7 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.4753, allocations: 63.39 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.4756, allocations: 163 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.4756, allocations: 29.69 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/0.4757, allocations: 120.5 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.4758, allocations: 43.73 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.4758, allocations: 0 / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.476, allocations: 330.8 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.4761, allocations: 47.98 kB / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.4763, allocations: 102 kB / 1.033 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.4765, allocations: 48.78 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4765, allocations: 0 / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005096/0.477, allocations: 188.4 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4771, allocations: 4 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4771, allocations: 4 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.4771, allocations: 0 / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.4773, allocations: 19.92 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.4773, allocations: 4 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.4777, allocations: 44.11 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.4777, allocations: 12 kB / 1.033 GB, free: 7.762 MB / 0.6823 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,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.4779, allocations: 143.8 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.478, allocations: 27.72 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.4781, allocations: 17.19 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4781, allocations: 8 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.4781, allocations: 0 / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4781, allocations: 0 / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009703/0.4791, allocations: 0.4944 MB / 1.034 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4791, allocations: 96 / 1.034 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.4792, allocations: 11.92 kB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.4792, allocations: 0 / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.4792, allocations: 8 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4792, allocations: 0 / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4793, allocations: 4 kB / 1.034 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/0.4798, allocations: 265.2 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.4799, allocations: 96.86 kB / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.4799, allocations: 7.984 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.4803, allocations: 39.97 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.4804, allocations: 27.95 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.4805, allocations: 7.984 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001854/0.4807, allocations: 123.2 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4807, allocations: 0 / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003988/0.4811, allocations: 35.95 kB / 1.034 GB, free: 6.367 MB / 0.6823 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[1],mulOr2.u[2],mulOr2.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008875/0.482, allocations: 0.802 MB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000465/0.4825, allocations: 146.9 kB / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4825, allocations: 0 / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.4827, allocations: 75.91 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.4833, allocations: 48.27 kB / 1.035 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.4862, allocations: 1.88 MB / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.4866, allocations: 0.7284 MB / 1.038 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001903/0.4868, allocations: 33.53 kB / 1.038 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.4869, allocations: 51.41 kB / 1.038 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/0.4869, allocations: 0 / 1.038 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.5177, allocations: 3.665 MB / 1.041 GB, free: 14.96 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/0.5181, allocations: 184.8 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/2.905, allocations: 0 / 1.042 GB, free: 14.72 MB / 0.698 GB