Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_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.3/2.3, 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.001532/0.001532, allocations: 177.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.336/2.336, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001142/0.001142, allocations: 100.2 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006365/0.0006368, allocations: 17.53 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2394, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.5521, allocations: 131.2 MB / 1.027 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003876/0.5526, allocations: 75.95 kB / 1.027 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004335/0.5569, allocations: 0.7465 MB / 1.028 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.206e-06/0.557, allocations: 0 / 1.028 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.557, allocations: 4 kB / 1.028 GB, free: 13.23 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008574/0.5579, allocations: 359.3 kB / 1.028 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/0.558, allocations: 8.031 kB / 1.028 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.667e-05/0.5581, allocations: 38.75 kB / 1.028 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.5581, allocations: 7.844 kB / 1.028 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.5583, allocations: 175 kB / 1.028 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5584, allocations: 4 kB / 1.028 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.5584, allocations: 0 / 1.028 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.5588, allocations: 69.66 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.5589, allocations: 3.984 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.5589, allocations: 0 / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.5589, allocations: 0 / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/0.5594, allocations: 55.95 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.5601, allocations: 264.8 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.5607, allocations: 70.53 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.5607, allocations: 4 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004991/0.5613, allocations: 91.38 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 4.208e-06/0.5613, allocations: 0 / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0009947/0.5623, allocations: 129.5 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.5624, allocations: 59.36 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.5626, allocations: 101 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.5626, allocations: 29.7 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.5627, allocations: 84.14 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.5628, allocations: 11.89 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.5628, allocations: 0 / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.563, allocations: 314.8 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.5633, allocations: 31.97 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.5636, allocations: 40.3 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.5639, allocations: 32.11 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.564, allocations: 4 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007321/0.5647, allocations: 113.5 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.5648, allocations: 4 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5648, allocations: 3.938 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.5648, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.5651, allocations: 19.98 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.5651, allocations: 4 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.5654, allocations: 19.94 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.5654, allocations: 0 / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001737/0.5656, allocations: 113.8 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.5657, allocations: 3.906 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.5657, allocations: 7.906 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5657, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5658, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.5658, allocations: 3.984 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.5661, allocations: 177.5 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5661, allocations: 4 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.5663, allocations: 15.92 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.5663, allocations: 3.938 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5663, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5663, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5663, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006756/0.567, allocations: 125 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.5671, allocations: 85.02 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.5672, allocations: 4 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.5674, allocations: 11.98 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/0.5676, allocations: 8.219 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.5676, allocations: 11.98 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.87e-05/0.5677, allocations: 83.28 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.01e-07/0.5677, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004596/0.5682, allocations: 16 kB / 1.031 GB, free: 10.14 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.001216/0.5694, allocations: 0.6678 MB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006525/0.5701, allocations: 67.95 kB / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/0.5702, allocations: 4 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.5705, allocations: 35.91 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.5709, allocations: 13.88 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/0.5718, allocations: 172.2 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.5723, allocations: 0.6848 MB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.313e-05/0.5723, allocations: 4.25 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.5724, allocations: 7.438 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of SimCode: time 1.382e-06/0.5725, allocations: 0 / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.5972, allocations: 1.446 MB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003422/0.5976, allocations: 189.4 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/3.35, allocations: 0 / 1.034 GB, free: 6.859 MB / 0.6823 GB