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.288/2.288, allocations: 248.5 MB / 261.1 MB, free: 5.926 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.001512/0.001512, allocations: 182.4 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.021/2.021, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001214/0.001213, allocations: 101.2 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.126e-05/5.151e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.215, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8707/1.086, allocations: 131.2 MB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/1.086, allocations: 72.77 kB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003306/1.09, allocations: 0.7553 MB / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/1.09, allocations: 0 / 1.02 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.937e-06/1.09, allocations: 0 / 1.02 GB, free: 3.344 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006641/1.09, allocations: 349.6 kB / 1.02 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/1.09, allocations: 12.03 kB / 1.02 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.219e-05/1.09, allocations: 30.56 kB / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/1.09, allocations: 4 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/1.091, allocations: 182.8 kB / 1.02 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/1.091, allocations: 3.625 kB / 1.02 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/1.091, allocations: 7.938 kB / 1.02 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/1.091, allocations: 44.5 kB / 1.02 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.091, allocations: 0 / 1.02 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.091, allocations: 0 / 1.02 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/1.091, allocations: 0 / 1.02 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.956e-05/1.091, allocations: 15.56 kB / 1.02 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/1.092, allocations: 263.2 kB / 1.02 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/1.092, allocations: 37.64 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/1.092, allocations: 16.08 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/1.092, allocations: 3.984 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/1.092, allocations: 66.27 kB / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/1.092, allocations: 4 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002239/1.092, allocations: 56.62 kB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/1.092, allocations: 59.3 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/1.092, allocations: 112.1 kB / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/1.092, allocations: 29.14 kB / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/1.093, allocations: 80.14 kB / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/1.093, allocations: 11.66 kB / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-06/1.093, allocations: 0 / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.093, allocations: 322.1 kB / 1.021 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.247e-05/1.093, allocations: 18.05 kB / 1.021 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.204e-05/1.093, allocations: 14.5 kB / 1.021 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/1.093, allocations: 11.34 kB / 1.021 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.093, allocations: 0 / 1.021 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000183/1.093, allocations: 72.2 kB / 1.021 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.093, allocations: 4 kB / 1.021 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/1.093, allocations: 0 / 1.021 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.093, allocations: 0 / 1.021 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/1.093, allocations: 23.92 kB / 1.021 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.093, allocations: 4.547 kB / 1.021 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/1.094, allocations: 19.62 kB / 1.021 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/1.094, allocations: 0 / 1.021 GB, free: 1.383 MB / 0.6355 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 () * 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.0001127/1.094, allocations: 105 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/1.094, allocations: 0 / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/1.094, allocations: 15.89 kB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.094, allocations: 0 / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.094, allocations: 4 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.094, allocations: 0 / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/1.094, allocations: 168.2 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.094, allocations: 0 / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/1.094, allocations: 11.98 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.094, allocations: 0 / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.094, allocations: 0 / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/1.094, allocations: 0 / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.094, allocations: 3.938 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/1.095, allocations: 100.1 kB / 1.022 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/1.095, allocations: 84.73 kB / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/1.095, allocations: 3.938 kB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/1.095, allocations: 11.98 kB / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/1.095, allocations: 7.984 kB / 1.022 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/1.095, allocations: 4 kB / 1.022 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.68e-05/1.095, allocations: 90.2 kB / 1.022 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.095, allocations: 4 kB / 1.022 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002499/1.095, allocations: 11.98 kB / 1.022 GB, free: 0.6992 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * 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.0005531/1.096, allocations: 0.6304 MB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001841/1.096, allocations: 34.17 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.096, allocations: 4 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.432e-05/1.096, allocations: 15.19 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/1.096, allocations: 11.44 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/1.097, allocations: 107.3 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/1.097, allocations: 0.6809 MB / 1.023 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.351e-05/1.097, allocations: 7.984 kB / 1.023 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/1.097, allocations: 18.94 kB / 1.023 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of SimCode: time 8.21e-07/1.097, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/1.123, allocations: 1.446 MB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000356/1.123, allocations: 175.7 kB / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/3.39, allocations: 3.938 kB / 1.025 GB, free: 13.59 MB / 0.6511 GB