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.162/2.162, allocations: 248.5 MB / 261.1 MB, free: 6.098 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.001484/0.001484, allocations: 182.1 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001099/0.001099, allocations: 94.44 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.997e-05/4.006e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.213, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8694/1.082, allocations: 131.6 MB / 1.019 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.083, allocations: 72.27 kB / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003987/1.087, allocations: 0.9834 MB / 1.02 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.884e-06/1.087, allocations: 0 / 1.02 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.087, allocations: 0 / 1.02 GB, free: 2.738 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006325/1.088, allocations: 373.8 kB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/1.088, allocations: 12.03 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/1.088, allocations: 34.55 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/1.088, allocations: 7.906 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/1.088, allocations: 174.6 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/1.088, allocations: 0 / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/1.088, allocations: 7.938 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/1.088, allocations: 60.5 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.088, allocations: 4 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/1.088, allocations: 7.969 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.088, allocations: 0 / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/1.088, allocations: 23.38 kB / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/1.089, allocations: 313.9 kB / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005668/1.09, allocations: 105.9 kB / 1.021 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/1.09, allocations: 21.97 kB / 1.021 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/1.09, allocations: 0 / 1.021 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/1.09, allocations: 73.67 kB / 1.021 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.993e-06/1.09, allocations: 0 / 1.021 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002491/1.09, allocations: 80.34 kB / 1.021 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/1.09, allocations: 51.41 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/1.09, allocations: 116.3 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/1.09, allocations: 25.7 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/1.09, allocations: 99.41 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/1.09, allocations: 7.812 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/1.09, allocations: 3.375 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.091, allocations: 322.2 kB / 1.022 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.954e-05/1.091, allocations: 15.69 kB / 1.022 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.98e-05/1.091, allocations: 46.75 kB / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.961e-05/1.091, allocations: 14.69 kB / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.091, allocations: 192 / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000209/1.091, allocations: 87.55 kB / 1.022 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.091, allocations: 7.938 kB / 1.022 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.091, allocations: 7.938 kB / 1.022 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.091, allocations: 4.094 kB / 1.022 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/1.091, allocations: 19.94 kB / 1.022 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.091, allocations: 0.7031 kB / 1.022 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/1.092, allocations: 23.33 kB / 1.022 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/1.092, allocations: 7.938 kB / 1.022 GB, free: 0.5273 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: 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 () * 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 9.075e-05/1.092, allocations: 108.4 kB / 1.022 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/1.092, allocations: 8 kB / 1.022 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/1.092, allocations: 8.062 kB / 1.022 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/1.092, allocations: 0 / 1.022 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.092, allocations: 11.95 kB / 1.022 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.092, allocations: 3.984 kB / 1.022 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004711/1.092, allocations: 338.8 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.092, allocations: 0 / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/1.092, allocations: 11.98 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.092, allocations: 4 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/1.093, allocations: 3.953 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.093, allocations: 4.078 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.534e-05/1.093, allocations: 4.094 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/1.093, allocations: 171.8 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/1.093, allocations: 84.77 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/1.093, allocations: 3.984 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/1.093, allocations: 23.94 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/1.093, allocations: 7.984 kB / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/1.093, allocations: 3.375 kB / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.355e-05/1.093, allocations: 90.66 kB / 1.023 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.093, allocations: 0 / 1.023 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000296/1.094, allocations: 11.94 kB / 1.023 GB, free: 15.59 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: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * 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.0006194/1.094, allocations: 0.7139 MB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001941/1.094, allocations: 46.38 kB / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.094, allocations: 288 / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/1.095, allocations: 27.17 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/1.095, allocations: 15.14 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/1.096, allocations: 156.9 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/1.096, allocations: 0.6887 MB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.481e-05/1.096, allocations: 4 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/1.096, allocations: 26.3 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.096, allocations: 4 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/1.116, allocations: 1.671 MB / 1.026 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003328/1.117, allocations: 163.2 kB / 1.027 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/3.459, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.6511 GB