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.183/2.183, allocations: 248.5 MB / 261 MB, free: 6.031 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.001504/0.001504, allocations: 174 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 2.012/2.012, allocations: 205.2 MB / 0.571 GB, free: 11.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.001107/0.001106, allocations: 92.36 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.648e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2536, allocations: 106.2 MB / 0.8907 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.27, allocations: 131.1 MB / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/1.27, allocations: 71.7 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00268/1.273, allocations: 0.5696 MB / 1.019 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.765e-06/1.273, allocations: 0 / 1.019 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.026e-05/1.273, allocations: 3.188 kB / 1.019 GB, free: 3.27 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.0005726/1.274, allocations: 330.5 kB / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.98e-05/1.274, allocations: 8.031 kB / 1.02 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.922e-05/1.274, allocations: 30.56 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/1.274, allocations: 4 kB / 1.02 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/1.274, allocations: 178.2 kB / 1.02 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/1.274, allocations: 4 kB / 1.02 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/1.274, allocations: 3.984 kB / 1.02 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/1.274, allocations: 32.7 kB / 1.02 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.274, allocations: 0 / 1.02 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/1.274, allocations: 0 / 1.02 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/1.275, allocations: 0 / 1.02 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.364e-05/1.275, allocations: 7.984 kB / 1.02 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/1.275, allocations: 168.4 kB / 1.02 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/1.275, allocations: 29.92 kB / 1.02 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/1.275, allocations: 8.922 kB / 1.02 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/1.275, allocations: 0 / 1.02 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/1.275, allocations: 53.84 kB / 1.02 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.346e-06/1.275, allocations: 0 / 1.02 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002401/1.276, allocations: 52.84 kB / 1.02 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/1.276, allocations: 55.41 kB / 1.02 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/1.276, allocations: 96.94 kB / 1.02 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/1.276, allocations: 25.7 kB / 1.02 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/1.276, allocations: 83.95 kB / 1.02 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/1.276, allocations: 0 / 1.02 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/1.276, allocations: 4 kB / 1.02 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.276, allocations: 322.5 kB / 1.021 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.013e-05/1.276, allocations: 4 kB / 1.021 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/1.276, allocations: 21.09 kB / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.282e-05/1.276, allocations: 4 kB / 1.021 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.276, allocations: 0 / 1.021 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001843/1.277, allocations: 59.91 kB / 1.021 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.277, allocations: 4 kB / 1.021 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/1.277, allocations: 0 / 1.021 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/1.277, allocations: 0 / 1.021 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/1.277, allocations: 4 kB / 1.021 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/1.277, allocations: 8.016 kB / 1.021 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/1.277, allocations: 8 kB / 1.021 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/1.277, allocations: 0 / 1.021 GB, free: 1.512 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 0.0001187/1.277, allocations: 111.6 kB / 1.021 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/1.277, allocations: 6.875 kB / 1.021 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/1.277, allocations: 7.438 kB / 1.021 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/1.277, allocations: 3.984 kB / 1.021 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.277, allocations: 3.938 kB / 1.021 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.277, allocations: 4 kB / 1.021 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/1.278, allocations: 164.8 kB / 1.021 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.278, allocations: 0 / 1.021 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/1.278, allocations: 0 / 1.021 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/1.278, allocations: 1.25 kB / 1.021 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/1.278, allocations: 3.812 kB / 1.021 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/1.278, allocations: 0 / 1.021 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.278, allocations: 0 / 1.021 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/1.278, allocations: 76.81 kB / 1.021 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/1.278, allocations: 89 kB / 1.021 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/1.278, allocations: 0 / 1.021 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/1.278, allocations: 8.562 kB / 1.021 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/1.278, allocations: 11.17 kB / 1.021 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/1.278, allocations: 4 kB / 1.021 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.431e-05/1.279, allocations: 79.28 kB / 1.021 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.032e-06/1.279, allocations: 0 / 1.021 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004042/1.279, allocations: 7.438 kB / 1.021 GB, free: 0.8672 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.0006123/1.28, allocations: 0.6137 MB / 1.022 GB, free: 240 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001456/1.28, allocations: 19.38 kB / 1.022 GB, free: 224 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.28, allocations: 0 / 1.022 GB, free: 224 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.984e-05/1.28, allocations: 10.69 kB / 1.022 GB, free: 216 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/1.28, allocations: 12.05 kB / 1.022 GB, free: 204 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/1.281, allocations: 92.45 kB / 1.022 GB, free: 80 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/1.281, allocations: 0.6809 MB / 1.023 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.5e-05/1.281, allocations: 4 kB / 1.023 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/1.281, allocations: 10.94 kB / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.302e-06/1.281, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/1.304, allocations: 1.119 MB / 1.024 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003168/1.305, allocations: 170.2 kB / 1.024 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.702, allocations: 0 / 1.024 GB, free: 14.13 MB / 0.6511 GB