Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 115.3 kB / 16.43 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001256, allocations: 183.2 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437 MB / 0.7111 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.834e-05, allocations: 6.219 kB / 1.019 GB, free: 9.523 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001628/0.001672, allocations: 0.7582 MB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.003082, allocations: 1.157 MB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.003139, allocations: 0 / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.003181, allocations: 11.86 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.00325, allocations: 11.92 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.00374, allocations: 138.7 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.00393, allocations: 139.7 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.004035, allocations: 24.17 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.004124, allocations: 47.84 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.972e-05/0.00422, allocations: 55.8 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.004255, allocations: 12 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.775e-05/0.004327, allocations: 27.98 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0001086/0.004443, allocations: 114.9 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.918e-05/0.004477, allocations: 59.12 kB / 1.022 GB, free: 6.961 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.004515, allocations: 19.88 kB / 1.022 GB, free: 6.941 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.397e-05/0.004534, allocations: 3.984 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0005757/0.005116, allocations: 0.4916 MB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of FunctionAlias: time 4.959e-05/0.005171, allocations: 27.86 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0004293/0.005606, allocations: 376.1 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of simplify1: time 2.324e-05/0.005639, allocations: 11.98 kB / 1.023 GB, free: 5.91 MB / 0.795 GB Notification: Performance of Alias: time 0.0004678/0.006112, allocations: 313.2 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of simplify2: time 1.127e-05/0.006133, allocations: 7.984 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of Detect States: time 0.0003575/0.006495, allocations: 183.9 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of Events: time 0.000289/0.006794, allocations: 199.9 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of Partitioning: time 6.552e-05/0.00687, allocations: 48.11 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002361/0.007113, allocations: 195.9 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0002816/0.007403, allocations: 292.2 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of Inline: time 0.0004338/0.007844, allocations: 436.2 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of Partitioning: time 3.146e-05/0.007884, allocations: 20.11 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of Cleanup: time 1.793e-05/0.007908, allocations: 11.98 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of Causalize: time 0.0003269/0.008239, allocations: 266.9 kB / 1.024 GB, free: 3.812 MB / 0.795 GB Notification: Performance of Tearing: time 1.19e-05/0.008262, allocations: 4 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of Initialization: time 3.51e-07/0.008267, allocations: 3.938 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of Tearing: time 1.883e-06/0.008273, allocations: 0 / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of Categorize: time 7.945e-06/0.008286, allocations: 3.984 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of Solve: time 6.232e-05/0.008353, allocations: 36.47 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of Jacobian: time 3.016e-06/0.008362, allocations: 0 / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 3 (3) {triSam1.y, triSam.y, triSam.trigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$TEV_15, $TEV_14, $TEV_13, $TEV_12} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 6 (scalar:6, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.456e-05/0.0084, allocations: 11.73 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of SimCode: time 0.0007732/0.009178, allocations: 0.968 MB / 1.025 GB, free: 2.777 MB / 0.795 GB Notification: Performance of Templates: time 0.003624/0.01281, allocations: 1.404 MB / 1.027 GB, free: 1.379 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)