Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.964/4.964, allocations: 0.5623 GB / 0.5776 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002548/0.002547, allocations: 353.4 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.664/4.664, allocations: 410.7 MB / 1.113 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001781/0.001781, allocations: 186.8 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005498/0.0005502, allocations: 16 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7681, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.0009686/0.7691, allocations: 474.7 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.7707, allocations: 1.113 MB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.7707, allocations: 4 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.7708, allocations: 0.875 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-05/0.7709, allocations: 11.91 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.7714, allocations: 120.3 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.7716, allocations: 103.8 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.7717, allocations: 17.23 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.7718, allocations: 40.52 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.7718, allocations: 39.83 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.7719, allocations: 8.656 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.301e-05/0.772, allocations: 11.98 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.772, allocations: 9.094 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.7721, allocations: 41.64 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.7722, allocations: 84.55 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7722, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7722, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.7722, allocations: 1.531 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005592/0.7728, allocations: 404.5 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.7729, allocations: 11.62 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.7729, allocations: 4 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.773, allocations: 183.8 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.7731, allocations: 4 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.7731, allocations: 15.94 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.7734, allocations: 79.47 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.7734, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.7734, allocations: 1.062 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.7735, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.7738, allocations: 61.06 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.7744, allocations: 350.2 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.7746, allocations: 69.3 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.7748, allocations: 37.52 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.7748, allocations: 2.938 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003356/0.7752, allocations: 95.39 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 3.346e-06/0.7752, allocations: 1.219 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0006792/0.7759, allocations: 167.5 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.7759, allocations: 52.06 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.776, allocations: 123 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.7761, allocations: 29.7 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.7762, allocations: 100.8 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.7762, allocations: 15.8 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/0.7762, allocations: 4.75 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.7763, allocations: 319.3 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.7765, allocations: 57.89 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.7768, allocations: 99.48 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.7771, allocations: 88.2 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7771, allocations: 0 / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006494/0.7778, allocations: 226.1 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.7778, allocations: 34.33 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7778, allocations: 1.031 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7779, allocations: 7.938 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.778, allocations: 20.86 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.7781, allocations: 3.953 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.7785, allocations: 54.83 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.7785, allocations: 11.98 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.703e-05/0.7786, allocations: 119.5 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.7787, allocations: 11.91 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/0.7791, allocations: 137.4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.7792, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7792, allocations: 3.938 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.7792, allocations: 84.97 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.7792, allocations: 6.188 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.7793, allocations: 7.984 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.7794, allocations: 11.98 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004691/0.7799, allocations: 205.6 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004346/0.7803, allocations: 301 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001802/0.7805, allocations: 52.89 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.7806, allocations: 93.86 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of Backend: time 1.263e-06/0.7806, allocations: 0 / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007315/0.7813, allocations: 241.8 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0005025/0.7819, allocations: 0.6204 MB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.004847/0.7867, allocations: 1.352 MB / 1.469 GB, free: 276.1 MB / 0.8542 GB