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.365/2.365, allocations: 248.7 MB / 256.2 MB, free: 7.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.001415/0.001415, allocations: 183.5 kB / 315.4 MB, free: 4.004 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.287/2.287, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 90.53 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.499e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.201, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8555/1.057, allocations: 131.3 MB / 1.012 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.057, allocations: 74.89 kB / 1.012 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001888/1.059, allocations: 0.5761 MB / 1.013 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.294e-06/1.059, allocations: 0 / 1.013 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.059, allocations: 4 kB / 1.013 GB, free: 6.848 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004538/1.059, allocations: 326.5 kB / 1.013 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.059, allocations: 8.031 kB / 1.013 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/1.059, allocations: 0 / 1.013 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/1.06, allocations: 174.6 kB / 1.013 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/1.06, allocations: 0 / 1.013 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/1.06, allocations: 0 / 1.013 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.233e-05/1.06, allocations: 11.92 kB / 1.013 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.384e-05/1.06, allocations: 37.45 kB / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.06, allocations: 0.875 kB / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/1.06, allocations: 0 / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/1.06, allocations: 4 kB / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/1.06, allocations: 133.6 kB / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.381e-05/1.06, allocations: 25.36 kB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/1.06, allocations: 8.922 kB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/1.06, allocations: 7.984 kB / 1.014 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/1.06, allocations: 57.8 kB / 1.014 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/1.06, allocations: 0 / 1.014 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001867/1.061, allocations: 40.3 kB / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/1.061, allocations: 55.41 kB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/1.061, allocations: 95.86 kB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/1.061, allocations: 25.7 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/1.061, allocations: 87.2 kB / 1.014 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/1.061, allocations: 4.75 kB / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/1.061, allocations: 0 / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.061, allocations: 314.1 kB / 1.014 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/1.061, allocations: 4 kB / 1.014 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.182e-05/1.061, allocations: 21.08 kB / 1.014 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/1.061, allocations: 11.39 kB / 1.014 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.061, allocations: 7.953 kB / 1.014 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001045/1.061, allocations: 52.64 kB / 1.014 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.061, allocations: 7.938 kB / 1.014 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.061, allocations: 0 / 1.014 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.061, allocations: 7.938 kB / 1.014 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/1.061, allocations: 0 / 1.014 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.061, allocations: 0.8594 kB / 1.014 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.501e-05/1.062, allocations: 11.98 kB / 1.014 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/1.062, allocations: 0 / 1.014 GB, free: 5.176 MB / 0.6355 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 () * 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 9.617e-05/1.062, allocations: 113 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000102/1.062, allocations: 52.77 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/1.062, allocations: 0 / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/1.062, allocations: 7.062 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.062, allocations: 4 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.062, allocations: 0 / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.062, allocations: 0 / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/1.062, allocations: 141.4 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.062, allocations: 0 / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/1.062, allocations: 0 / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/1.062, allocations: 4 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/1.062, allocations: 0 / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/1.062, allocations: 3.984 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.062, allocations: 0 / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/1.062, allocations: 76.28 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/1.062, allocations: 81.06 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/1.062, allocations: 0 / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/1.063, allocations: 18.86 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/1.063, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/1.063, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.213e-05/1.063, allocations: 82.28 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.2e-07/1.063, allocations: 0 / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002497/1.063, allocations: 4 kB / 1.015 GB, free: 4.523 MB / 0.6355 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 () * 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.00045/1.063, allocations: 0.6172 MB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.957e-05/1.063, allocations: 15.19 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.064, allocations: 0 / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/1.064, allocations: 7.562 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/1.064, allocations: 10.39 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/1.064, allocations: 96.89 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/1.064, allocations: 0.6885 MB / 1.016 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.924e-05/1.065, allocations: 0.5156 kB / 1.016 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/1.065, allocations: 16.72 kB / 1.016 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of SimCode: time 2.946e-06/1.065, allocations: 0 / 1.016 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03631/1.101, allocations: 0.7997 MB / 1.017 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003578/1.101, allocations: 162.3 kB / 1.017 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/3.32, allocations: 0 / 1.017 GB, free: 2.016 MB / 0.6355 GB