Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Discrete_Examples_BooleanDelay",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.164/2.164, allocations: 251 MB / 265.9 MB, free: 11.67 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.001532/0.001532, allocations: 185 kB / 325.5 MB, free: 2.871 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.316/2.316, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001067/0.001067, allocations: 105 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0009687/0.0009689, allocations: 12.58 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2105, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2175/0.4281, allocations: 132.1 MB / 1.028 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.4285, allocations: 71.97 kB / 1.028 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005024/0.4335, allocations: 1.203 MB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4335, allocations: 0 / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.4336, allocations: 4 kB / 1.029 GB, free: 11.85 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006544/0.4342, allocations: 392.8 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4343, allocations: 8.031 kB / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.823e-05/0.4343, allocations: 34.56 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.4344, allocations: 4 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.4346, allocations: 174.9 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.4346, allocations: 8 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.4346, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.4348, allocations: 49.69 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.4348, allocations: 0 / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4348, allocations: 0 / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.4348, allocations: 4 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.4349, allocations: 19.92 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.4355, allocations: 272.8 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.4356, allocations: 46.56 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.4357, allocations: 0 / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.4359, allocations: 97.16 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.4359, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0004461/0.4364, allocations: 228.2 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.4365, allocations: 81.06 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.4366, allocations: 117 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.4366, allocations: 29.7 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.4367, allocations: 84.14 kB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.4367, allocations: 15.88 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.4367, allocations: 4 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4369, allocations: 318.8 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.437, allocations: 16.86 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.4371, allocations: 42.5 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.897e-05/0.4372, allocations: 41.7 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4372, allocations: 0 / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000251/0.4375, allocations: 131.2 kB / 1.031 GB, free: 9.387 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.4375, allocations: 29.7 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.4375, allocations: 0 / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4376, allocations: 4 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.4376, allocations: 7.938 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4376, allocations: 4.062 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.4378, allocations: 11.94 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4378, allocations: 4 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001453/0.4379, allocations: 151.5 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.438, allocations: 4 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.438, allocations: 4.375 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.438, allocations: 4 kB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4381, allocations: 4.062 kB / 1.031 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4381, allocations: 7.984 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000595/0.4387, allocations: 404.1 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4387, allocations: 0 / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.4387, allocations: 0 / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.4387, allocations: 384 / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.4388, allocations: 15.92 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4388, allocations: 0 / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4388, allocations: 3.953 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.4391, allocations: 229.2 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.4392, allocations: 81.02 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.4392, allocations: 4 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.4394, allocations: 15.98 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.4395, allocations: 11.94 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.4395, allocations: 7.922 kB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.469e-05/0.4396, allocations: 87.28 kB / 1.032 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4396, allocations: 4 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003052/0.4399, allocations: 12 kB / 1.032 GB, free: 8.172 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0006572/0.4406, allocations: 0.7627 MB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.4408, allocations: 115.3 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4408, allocations: 4.125 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.441, allocations: 95.33 kB / 1.033 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.4413, allocations: 7.984 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.4425, allocations: 0.7883 MB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.4428, allocations: 0.6887 MB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.712e-05/0.4429, allocations: 3.984 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.4429, allocations: 15.44 kB / 1.035 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/0.443, allocations: 4.188 kB / 1.035 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.4627, allocations: 1.587 MB / 1.036 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/0.4631, allocations: 179.9 kB / 1.036 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.752, allocations: 0 / 1.036 GB, free: 3.844 MB / 0.6823 GB