Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.634/1.634, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 184.9 kB / 361.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008325/0.0008326, allocations: 88.62 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.2e-05, allocations: 4 kB / 0.8518 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8013/0.8014, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/1.025, allocations: 137.7 MB / 1.099 GB, free: 2.078 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/1.025, allocations: 65.52 kB / 1.099 GB, free: 2.016 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006775/1.032, allocations: 2.248 MB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.144e-06/1.032, allocations: 0 / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.741e-05/1.032, allocations: 4 kB / 1.101 GB, free: 15.82 MB / 0.7136 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.0005222/1.033, allocations: 404.6 kB / 1.102 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/1.033, allocations: 12.72 kB / 1.102 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/1.033, allocations: 8.938 kB / 1.102 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/1.033, allocations: 180.1 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/1.033, allocations: 4 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/1.033, allocations: 4 kB / 1.102 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/1.033, allocations: 23.98 kB / 1.102 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/1.033, allocations: 57.56 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.033, allocations: 0.875 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/1.033, allocations: 0 / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.033, allocations: 6.531 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/1.034, allocations: 313.2 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/1.034, allocations: 58.47 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/1.034, allocations: 16.98 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/1.034, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/1.034, allocations: 71.42 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 3.016e-06/1.034, allocations: 2.016 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.000249/1.035, allocations: 93.56 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/1.035, allocations: 63.41 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/1.035, allocations: 101 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/1.035, allocations: 29.7 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/1.035, allocations: 99.98 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/1.035, allocations: 15.8 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/1.035, allocations: 4 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.035, allocations: 318.8 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/1.035, allocations: 39.98 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/1.035, allocations: 66.03 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/1.036, allocations: 51.89 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.036, allocations: 4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003268/1.036, allocations: 149.5 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/1.036, allocations: 37.69 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.036, allocations: 4 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.036, allocations: 3.875 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/1.036, allocations: 23.92 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/1.036, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/1.036, allocations: 44.12 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/1.036, allocations: 15.98 kB / 1.103 GB, free: 13.33 MB / 0.7136 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 () * 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 0.0001131/1.036, allocations: 114.8 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/1.037, allocations: 15.84 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/1.037, allocations: 90.3 kB / 1.104 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.037, allocations: 0 / 1.104 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.037, allocations: 0 / 1.104 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/1.037, allocations: 0 / 1.104 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/1.037, allocations: 328.8 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.037, allocations: 0 / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.286e-05/1.037, allocations: 15.92 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.037, allocations: 4 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/1.037, allocations: 4 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/1.037, allocations: 0 / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.037, allocations: 0 / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/1.037, allocations: 187.4 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/1.037, allocations: 85.02 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/1.038, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.033e-05/1.038, allocations: 15.98 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/1.038, allocations: 7.984 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/1.038, allocations: 4 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.413e-05/1.038, allocations: 89.8 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.038, allocations: 2.625 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002547/1.038, allocations: 27.98 kB / 1.104 GB, free: 12.27 MB / 0.7136 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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.0001937/1.038, allocations: 116.1 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002368/1.038, allocations: 147.3 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.039, allocations: 0 / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-05/1.039, allocations: 24 kB / 1.105 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/1.039, allocations: 15.94 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/1.039, allocations: 108.3 kB / 1.105 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/1.039, allocations: 0.6903 MB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.481e-05/1.04, allocations: 11.98 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/1.04, allocations: 11.44 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.04, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.003602/1.043, allocations: 1.169 MB / 1.107 GB, free: 9.984 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)