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.41/2.41, allocations: 248.7 MB / 256.2 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002157/0.002156, allocations: 175.5 kB / 315.4 MB, free: 4.027 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.036/2.036, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 94.23 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.582e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2039, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8639/1.068, allocations: 131.7 MB / 1.013 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/1.068, allocations: 71.89 kB / 1.013 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009562/1.078, allocations: 2.14 MB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/1.078, allocations: 0 / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.867e-05/1.078, allocations: 6.625 kB / 1.015 GB, free: 5.363 MB / 0.6355 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.001034/1.079, allocations: 474.8 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/1.079, allocations: 8.031 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.6e-05/1.079, allocations: 15.81 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/1.079, allocations: 221 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/1.079, allocations: 4 kB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/1.08, allocations: 19.92 kB / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003052/1.08, allocations: 88.34 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/1.08, allocations: 142 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.08, allocations: 0 / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/1.08, allocations: 0 / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/1.08, allocations: 4 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/1.082, allocations: 0.5726 MB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/1.082, allocations: 205.7 kB / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/1.082, allocations: 53.41 kB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/1.082, allocations: 4 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003048/1.083, allocations: 124.5 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 4.108e-06/1.083, allocations: 0 / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0006541/1.083, allocations: 149.7 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/1.084, allocations: 59.39 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/1.084, allocations: 159.2 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/1.084, allocations: 25.7 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/1.084, allocations: 114.2 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.49e-05/1.084, allocations: 41.94 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/1.084, allocations: 0 / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002278/1.084, allocations: 325 kB / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/1.085, allocations: 44.11 kB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/1.085, allocations: 93.94 kB / 1.018 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/1.085, allocations: 47.92 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.085, allocations: 0 / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006083/1.086, allocations: 166.8 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/1.086, allocations: 8 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.086, allocations: 96 / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/1.086, allocations: 7.938 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/1.086, allocations: 8 kB / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-05/1.086, allocations: 11.92 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/1.087, allocations: 39.59 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/1.087, allocations: 8 kB / 1.018 GB, free: 2.266 MB / 0.6355 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 () * 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.0001963/1.087, allocations: 126.5 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005748/1.088, allocations: 158.3 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/1.088, allocations: 11.81 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/1.088, allocations: 20.19 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/1.088, allocations: 8.812 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.088, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/1.088, allocations: 3.984 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/1.089, allocations: 452.1 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.089, allocations: 3.938 kB / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/1.089, allocations: 11.67 kB / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/1.089, allocations: 2.625 kB / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/1.089, allocations: 0 / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/1.089, allocations: 7.984 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.089, allocations: 4 kB / 1.019 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/1.09, allocations: 247.1 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.09, allocations: 96.38 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/1.09, allocations: 0 / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/1.091, allocations: 39.95 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.091, allocations: 31.39 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/1.091, allocations: 7.562 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001924/1.091, allocations: 113.8 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.61e-07/1.091, allocations: 0 / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000662/1.092, allocations: 28 kB / 1.019 GB, free: 0.9727 MB / 0.6355 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 () * 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.001132/1.093, allocations: 0.8011 MB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005503/1.094, allocations: 123.6 kB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.094, allocations: 0 / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/1.094, allocations: 68.86 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008157/1.095, allocations: 39.09 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/1.096, allocations: 276.6 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/1.097, allocations: 0.7321 MB / 1.021 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000277/1.097, allocations: 37.78 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/1.097, allocations: 53.03 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.543e-06/1.098, allocations: 3.938 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04523/1.143, allocations: 3.294 MB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003193/1.143, allocations: 148.7 kB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/3.49, allocations: 4.031 kB / 1.025 GB, free: 11.45 MB / 0.6511 GB