Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Sources.Validation.Pulse,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",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.272/2.272, allocations: 251 MB / 265.9 MB, free: 11.68 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.002156/0.002156, allocations: 184.8 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.316/2.316, allocations: 205.4 MB / 0.5764 GB, free: 21.15 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.001255/0.001255, allocations: 99.8 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004813, allocations: 13.44 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2107, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.4366, allocations: 131.1 MB / 1.027 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.4369, allocations: 79.94 kB / 1.027 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001847/0.4388, allocations: 0.5631 MB / 1.028 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4388, allocations: 0 / 1.028 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4388, allocations: 0 / 1.028 GB, free: 13.97 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004705/0.4393, allocations: 339.2 kB / 1.028 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4394, allocations: 12.03 kB / 1.028 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.4394, allocations: 34.56 kB / 1.028 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.4395, allocations: 0 / 1.028 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.4396, allocations: 175 kB / 1.028 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.4396, allocations: 3.938 kB / 1.028 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.4397, allocations: 0 / 1.028 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.454e-05/0.4398, allocations: 29.7 kB / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4398, allocations: 3.984 kB / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.4398, allocations: 0 / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4398, allocations: 4 kB / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.918e-05/0.4399, allocations: 11.94 kB / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.4401, allocations: 165.6 kB / 1.028 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.292e-05/0.4402, allocations: 30.5 kB / 1.028 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.4402, allocations: 0 / 1.028 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.4403, allocations: 51.47 kB / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.4404, allocations: 0 / 1.028 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002134/0.4406, allocations: 61.52 kB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.4406, allocations: 55.41 kB / 1.028 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.4407, allocations: 101 kB / 1.029 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.4408, allocations: 25.7 kB / 1.029 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.4408, allocations: 84.14 kB / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.4408, allocations: 3.906 kB / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.4409, allocations: 4 kB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.441, allocations: 314.8 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.441, allocations: 8 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.4411, allocations: 25.7 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.4411, allocations: 4 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4411, allocations: 0 / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001164/0.4413, allocations: 49.62 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4413, allocations: 8 kB / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4413, allocations: 0 / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4413, allocations: 0 / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.4414, allocations: 8 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4414, allocations: 4.031 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.4415, allocations: 7.984 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.4415, allocations: 7.938 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.737e-05/0.4416, allocations: 109.8 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.4416, allocations: 4 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.4417, allocations: 7.5 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4417, allocations: 0 / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4417, allocations: 3.938 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4417, allocations: 4 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.4419, allocations: 161.6 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4419, allocations: 4 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-06/0.4419, allocations: 4 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4419, allocations: 0 / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.4419, allocations: 0 / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.4419, allocations: 3.984 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.442, allocations: 0 / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.4421, allocations: 84.97 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.4421, allocations: 85 kB / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.4422, allocations: 0 / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.4423, allocations: 7.984 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.4423, allocations: 8.547 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.4423, allocations: 0 / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.4424, allocations: 83.28 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4424, allocations: 0 / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002301/0.4426, allocations: 4 kB / 1.03 GB, free: 11.48 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004134/0.4431, allocations: 0.6136 MB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.4432, allocations: 23.92 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4432, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.4432, allocations: 8 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.4435, allocations: 16.05 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.4442, allocations: 0.5115 MB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.4445, allocations: 0.6809 MB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.4445, allocations: 4.25 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.4446, allocations: 11.44 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of SimCode: time 6.32e-07/0.4446, allocations: 0 / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.4632, allocations: 1.103 MB / 1.033 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003061/0.4636, allocations: 197.1 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/2.772, allocations: 0 / 1.033 GB, free: 8.301 MB / 0.6823 GB