Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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.LogicalSwitch,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_LogicalSwitch",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.21/2.21, allocations: 248.5 MB / 261.1 MB, free: 5.984 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.001384/0.001384, allocations: 174.1 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001158/0.001158, allocations: 100.7 kB / 0.6754 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.087e-05/4.105e-05, allocations: 4 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2296, allocations: 106.3 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8972/1.127, allocations: 131.2 MB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/1.127, allocations: 73.14 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005026/1.132, allocations: 1.156 MB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/1.132, allocations: 7.938 kB / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.135e-05/1.132, allocations: 4 kB / 1.02 GB, free: 2.871 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007304/1.133, allocations: 381.3 kB / 1.02 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/1.133, allocations: 8.031 kB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.786e-05/1.133, allocations: 46.06 kB / 1.02 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/1.133, allocations: 7.953 kB / 1.02 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/1.133, allocations: 178.9 kB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/1.133, allocations: 7.625 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/1.134, allocations: 7.438 kB / 1.021 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/1.134, allocations: 59.36 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.134, allocations: 3.938 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/1.134, allocations: 3.984 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/1.134, allocations: 4 kB / 1.021 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/1.134, allocations: 27.67 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/1.135, allocations: 308 kB / 1.021 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/1.135, allocations: 48.92 kB / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.891e-05/1.135, allocations: 24.11 kB / 1.021 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/1.135, allocations: 0 / 1.021 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/1.135, allocations: 89.53 kB / 1.021 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/1.135, allocations: 0 / 1.021 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003014/1.135, allocations: 91.08 kB / 1.021 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/1.135, allocations: 59.39 kB / 1.021 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/1.136, allocations: 116.3 kB / 1.021 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/1.136, allocations: 29.69 kB / 1.021 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/1.136, allocations: 91.02 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/1.136, allocations: 27.39 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/1.136, allocations: 3.938 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.136, allocations: 321.3 kB / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/1.136, allocations: 26.19 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.479e-05/1.136, allocations: 46.5 kB / 1.022 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.753e-05/1.136, allocations: 23.36 kB / 1.022 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.136, allocations: 4 kB / 1.022 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002266/1.136, allocations: 95.16 kB / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.136, allocations: 8 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.136, allocations: 3.984 kB / 1.022 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.136, allocations: 3.938 kB / 1.022 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.664e-05/1.137, allocations: 11.95 kB / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/1.137, allocations: 0 / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/1.137, allocations: 31.7 kB / 1.022 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/1.137, allocations: 4 kB / 1.022 GB, free: 0.6484 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001032/1.137, allocations: 116 kB / 1.022 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/1.137, allocations: 7.906 kB / 1.022 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/1.137, allocations: 12.19 kB / 1.022 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.137, allocations: 4 kB / 1.022 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.137, allocations: 3.953 kB / 1.022 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.137, allocations: 4 kB / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/1.137, allocations: 191.4 kB / 1.022 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.137, allocations: 0 / 1.022 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-05/1.137, allocations: 0 / 1.022 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.137, allocations: 0 / 1.022 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/1.137, allocations: 7.984 kB / 1.022 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.137, allocations: 0 / 1.022 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.137, allocations: 4.812 kB / 1.022 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/1.138, allocations: 126 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/1.138, allocations: 85 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/1.138, allocations: 0 / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/1.138, allocations: 23.92 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/1.138, allocations: 14.91 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/1.138, allocations: 4 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001077/1.138, allocations: 100.6 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.4e-07/1.138, allocations: 4 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002666/1.139, allocations: 22.77 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,logicalSwitch.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005637/1.139, allocations: 0.6502 MB / 1.023 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002253/1.139, allocations: 63.44 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.139, allocations: 4.062 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/1.14, allocations: 30.94 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/1.14, allocations: 24.09 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/1.14, allocations: 160.6 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/1.141, allocations: 0.7004 MB / 1.024 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.24e-05/1.141, allocations: 12.48 kB / 1.024 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/1.141, allocations: 27.12 kB / 1.024 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of SimCode: time 9.51e-07/1.141, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/1.162, allocations: 2.044 MB / 1.026 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003367/1.162, allocations: 166.9 kB / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.538, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.6511 GB