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.256/2.256, allocations: 248.7 MB / 256.2 MB, free: 7.047 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.001509/0.001509, allocations: 180 kB / 315.4 MB, free: 4.016 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.159/2.159, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 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.00116/0.001161, allocations: 94.52 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.594e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2079, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8772/1.085, allocations: 131.9 MB / 1.013 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/1.086, allocations: 74.77 kB / 1.013 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004457/1.09, allocations: 1.122 MB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.313e-06/1.09, allocations: 3.938 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.09, allocations: 0 / 1.014 GB, free: 5.855 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.0006267/1.091, allocations: 377.7 kB / 1.014 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.091, allocations: 12.03 kB / 1.014 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/1.091, allocations: 4 kB / 1.014 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/1.091, allocations: 182.8 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/1.091, allocations: 4 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/1.091, allocations: 7.984 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/1.091, allocations: 19.69 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/1.091, allocations: 57.81 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/1.091, allocations: 0 / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/1.091, allocations: 0 / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.091, allocations: 4 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/1.092, allocations: 288.2 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/1.092, allocations: 46.14 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/1.092, allocations: 20.36 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/1.092, allocations: 4 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/1.092, allocations: 67.02 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 3.998e-06/1.092, allocations: 0 / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.000252/1.093, allocations: 89.12 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.093, allocations: 55.39 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.093, allocations: 108.6 kB / 1.015 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/1.093, allocations: 25.7 kB / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/1.093, allocations: 96.06 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/1.093, allocations: 23.59 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/1.093, allocations: 0 / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.093, allocations: 318.8 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.026e-05/1.093, allocations: 19.38 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.138e-05/1.093, allocations: 44.48 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.72e-05/1.093, allocations: 27.73 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.093, allocations: 0 / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001955/1.094, allocations: 76.62 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.094, allocations: 11.94 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/1.094, allocations: 3.984 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/1.094, allocations: 4.625 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/1.094, allocations: 20.11 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.094, allocations: 7.938 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/1.094, allocations: 23.84 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/1.094, allocations: 0 / 1.016 GB, free: 3.758 MB / 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 9.457e-05/1.094, allocations: 113.6 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001797/1.094, allocations: 78.48 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/1.094, allocations: 11.91 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/1.095, allocations: 89.89 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.095, allocations: 3.953 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.095, allocations: 0 / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/1.095, allocations: 3.984 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/1.095, allocations: 344.4 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.095, allocations: 3.938 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/1.095, allocations: 15.98 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.095, allocations: 0 / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/1.095, allocations: 8 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.095, allocations: 0 / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.095, allocations: 3.984 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/1.096, allocations: 174.9 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/1.096, allocations: 88.62 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/1.096, allocations: 8 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/1.096, allocations: 15.94 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/1.096, allocations: 7.984 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/1.096, allocations: 7.938 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.825e-05/1.096, allocations: 87.16 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.185e-06/1.096, allocations: 0 / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003332/1.096, allocations: 15.92 kB / 1.017 GB, free: 2.68 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: 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.0005606/1.097, allocations: 0.7157 MB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001844/1.097, allocations: 43.66 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.097, allocations: 0 / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.24e-05/1.097, allocations: 31.86 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/1.098, allocations: 20.12 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/1.098, allocations: 137.4 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/1.099, allocations: 0.6963 MB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.542e-05/1.099, allocations: 7.953 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/1.099, allocations: 15.12 kB / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/1.099, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04311/1.142, allocations: 1.372 MB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/1.142, allocations: 157.3 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/3.511, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.6511 GB