Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.141/2.141, allocations: 251 MB / 265.9 MB, free: 11.7 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.001557/0.001557, allocations: 180 kB / 325.5 MB, free: 2.891 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.331/2.331, allocations: 205.4 MB / 0.5764 GB, free: 20.76 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.0011/0.0011, allocations: 93.58 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007186/0.0007186, allocations: 13.38 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2284, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.4536, allocations: 131.7 MB / 1.027 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.4539, allocations: 71.95 kB / 1.027 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004105/0.458, allocations: 0.9621 MB / 1.028 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4581, allocations: 3.938 kB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.4581, allocations: 4 kB / 1.028 GB, free: 12.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007264/0.4589, allocations: 383 kB / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4589, allocations: 12.03 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/0.459, allocations: 34.56 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.459, allocations: 11.84 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.4592, allocations: 178.9 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.4593, allocations: 0 / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.4593, allocations: 8 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.4596, allocations: 73.66 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4596, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.4597, allocations: 4 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4597, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.46, allocations: 63.89 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.4607, allocations: 308.7 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.4615, allocations: 130.6 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.4615, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003281/0.4618, allocations: 79.5 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.4619, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006895/0.4626, allocations: 153.5 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.4626, allocations: 55.41 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.4628, allocations: 109.1 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.4628, allocations: 34.08 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.4629, allocations: 92.3 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.4629, allocations: 15.81 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-06/0.463, allocations: 0 / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4631, allocations: 326.8 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.4633, allocations: 31.98 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.4635, allocations: 59.41 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.4637, allocations: 35.97 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4637, allocations: 4 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004678/0.4642, allocations: 125.4 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4643, allocations: 4 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4643, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4643, allocations: 8.094 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.4645, allocations: 19.98 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4645, allocations: 3.953 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.4647, allocations: 15.98 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.4647, allocations: 4 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001688/0.4649, allocations: 125.7 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.4649, allocations: 15.83 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.465, allocations: 8.375 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.465, allocations: 0 / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.465, allocations: 0 / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.465, allocations: 7.953 kB / 1.031 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007436/0.4658, allocations: 374.5 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.4658, allocations: 0 / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.4659, allocations: 11.94 kB / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4659, allocations: 0 / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4659, allocations: 0 / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.4659, allocations: 8.328 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.466, allocations: 0 / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/0.4664, allocations: 208.3 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.4665, allocations: 85.02 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.4666, allocations: 3.984 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.4668, allocations: 23.98 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.4668, allocations: 11.94 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.4669, allocations: 0 / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.846e-05/0.4669, allocations: 95.39 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.467, allocations: 3.938 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003235/0.4673, allocations: 16 kB / 1.032 GB, free: 8.938 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: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008443/0.4681, allocations: 0.7359 MB / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004515/0.4686, allocations: 83.89 kB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4686, allocations: 0 / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.4689, allocations: 43.91 kB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.4692, allocations: 16.14 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.4711, allocations: 1.031 MB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.4715, allocations: 0.6965 MB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.577e-05/0.4716, allocations: 3.984 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.4717, allocations: 19.44 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/0.4717, allocations: 0 / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.4923, allocations: 1.655 MB / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/0.4927, allocations: 189.4 kB / 1.036 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/2.801, allocations: 0 / 1.036 GB, free: 4.441 MB / 0.6823 GB