Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSampler,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler",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.305/2.305, allocations: 248.5 MB / 261.1 MB, free: 6.117 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.001545/0.001545, allocations: 187.2 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.008/2.008, allocations: 205.1 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.001083/0.001083, allocations: 105.5 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.603e-05/5.645e-05, allocations: 8 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2753, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8944/1.17, allocations: 131.7 MB / 1.019 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004388/1.17, allocations: 72.2 kB / 1.019 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006956/1.177, allocations: 1.129 MB / 1.02 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.245e-06/1.177, allocations: 0 / 1.02 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.164e-05/1.177, allocations: 0 / 1.02 GB, free: 2.562 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009379/1.178, allocations: 389.5 kB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.315e-05/1.178, allocations: 8.031 kB / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.557e-05/1.178, allocations: 41.3 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/1.179, allocations: 0 / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/1.179, allocations: 182.3 kB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/1.179, allocations: 0 / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/1.179, allocations: 6.875 kB / 1.021 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/1.179, allocations: 69.55 kB / 1.021 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/1.179, allocations: 3.938 kB / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/1.179, allocations: 0 / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/1.179, allocations: 0 / 1.021 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/1.18, allocations: 25.44 kB / 1.021 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009609/1.181, allocations: 316.6 kB / 1.021 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/1.181, allocations: 55.94 kB / 1.021 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/1.181, allocations: 19.86 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/1.181, allocations: 0 / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/1.181, allocations: 72.7 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.995e-06/1.181, allocations: 0 / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000346/1.182, allocations: 86.33 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/1.182, allocations: 59.33 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/1.182, allocations: 120.1 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/1.182, allocations: 32.52 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/1.182, allocations: 84.02 kB / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/1.182, allocations: 26.83 kB / 1.022 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/1.182, allocations: 3.438 kB / 1.022 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001985/1.182, allocations: 318.3 kB / 1.022 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/1.183, allocations: 19.19 kB / 1.022 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/1.183, allocations: 49.22 kB / 1.022 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/1.183, allocations: 18.19 kB / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.183, allocations: 0 / 1.022 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003861/1.183, allocations: 98.55 kB / 1.022 GB, free: 424 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.183, allocations: 4 kB / 1.022 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.183, allocations: 0.7812 kB / 1.022 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.183, allocations: 7.953 kB / 1.022 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/1.184, allocations: 19.92 kB / 1.022 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.184, allocations: 4 kB / 1.022 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/1.184, allocations: 27.45 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/1.184, allocations: 4 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001221/1.184, allocations: 111.1 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/1.184, allocations: 3.984 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/1.185, allocations: 100.7 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.185, allocations: 4 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/1.185, allocations: 3.953 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/1.185, allocations: 0 / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008201/1.186, allocations: 376.1 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.186, allocations: 0 / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/1.186, allocations: 15.97 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/1.186, allocations: 3.984 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/1.186, allocations: 11.33 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.186, allocations: 0 / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/1.186, allocations: 7.938 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/1.186, allocations: 185.2 kB / 1.023 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/1.186, allocations: 79.98 kB / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/1.186, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/1.186, allocations: 19.94 kB / 1.023 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/1.186, allocations: 14.86 kB / 1.023 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/1.186, allocations: 8.359 kB / 1.023 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.063e-05/1.186, allocations: 89.78 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.187, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003054/1.187, allocations: 19.22 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005741/1.187, allocations: 0.7154 MB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001994/1.188, allocations: 52.12 kB / 1.024 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.188, allocations: 0 / 1.024 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/1.188, allocations: 33.61 kB / 1.024 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/1.188, allocations: 11.95 kB / 1.024 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/1.189, allocations: 141.9 kB / 1.024 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/1.189, allocations: 0.6968 MB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.409e-05/1.189, allocations: 11.94 kB / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/1.189, allocations: 18.62 kB / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/1.189, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/1.21, allocations: 1.697 MB / 1.027 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003424/1.21, allocations: 177.9 kB / 1.027 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/3.529, allocations: 0 / 1.027 GB, free: 11.78 MB / 0.6511 GB