Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.96/2.96, allocations: 287.5 MB / 302.4 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001515, allocations: 183.8 kB / 371 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001163/0.001162, allocations: 89.09 kB / 0.743 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006988/0.0006989, allocations: 12.47 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2235, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9697/1.193, allocations: 138.3 MB / 1.113 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/1.194, allocations: 74.02 kB / 1.114 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0105/1.204, allocations: 2.265 MB / 1.116 GB, free: 31.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.165e-06/1.204, allocations: 0 / 1.116 GB, free: 31.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.204, allocations: 1.344 kB / 1.116 GB, free: 31.33 MB / 0.698 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.0006525/1.205, allocations: 416.3 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.205, allocations: 12.88 kB / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/1.205, allocations: 5.281 kB / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/1.205, allocations: 174.8 kB / 1.116 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/1.205, allocations: 10.73 kB / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/1.205, allocations: 10.03 kB / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/1.205, allocations: 75.45 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.205, allocations: 0 / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/1.205, allocations: 3.844 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/1.205, allocations: 4 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/1.206, allocations: 56.14 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/1.206, allocations: 353.6 kB / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/1.207, allocations: 64.94 kB / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/1.207, allocations: 3.234 kB / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/1.207, allocations: 99.98 kB / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/1.207, allocations: 0 / 1.117 GB, free: 30.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0006691/1.208, allocations: 166.3 kB / 1.117 GB, free: 30.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/1.208, allocations: 58.28 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/1.208, allocations: 107.4 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/1.208, allocations: 33.55 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/1.208, allocations: 93.81 kB / 1.117 GB, free: 30 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/1.208, allocations: 22.3 kB / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/1.208, allocations: 0 / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.208, allocations: 322.7 kB / 1.118 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/1.209, allocations: 57.81 kB / 1.118 GB, free: 29.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/1.209, allocations: 98.86 kB / 1.118 GB, free: 29.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/1.209, allocations: 83.98 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.209, allocations: 0 / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006705/1.21, allocations: 220.7 kB / 1.118 GB, free: 29.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/1.21, allocations: 39.09 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.21, allocations: 0 / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.21, allocations: 3.969 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/1.21, allocations: 19.66 kB / 1.118 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.21, allocations: 11.7 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/1.21, allocations: 55.97 kB / 1.118 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/1.21, allocations: 11.78 kB / 1.118 GB, free: 29.46 MB / 0.698 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 0.000135/1.211, allocations: 121.3 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/1.211, allocations: 7.812 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004712/1.211, allocations: 137.5 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/1.211, allocations: 0 / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/1.211, allocations: 0.875 kB / 1.119 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.211, allocations: 7.859 kB / 1.119 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/1.212, allocations: 383 kB / 1.119 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.212, allocations: 7.984 kB / 1.119 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/1.212, allocations: 14.5 kB / 1.119 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/1.212, allocations: 0 / 1.119 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/1.212, allocations: 4 kB / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.212, allocations: 0 / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.212, allocations: 11.8 kB / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/1.213, allocations: 224.9 kB / 1.119 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/1.213, allocations: 81.02 kB / 1.119 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/1.213, allocations: 7.625 kB / 1.119 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/1.213, allocations: 6.812 kB / 1.119 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/1.213, allocations: 10.67 kB / 1.119 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/1.213, allocations: 10.5 kB / 1.119 GB, free: 28.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.525e-05/1.213, allocations: 90.08 kB / 1.119 GB, free: 28.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/1.213, allocations: 3.938 kB / 1.119 GB, free: 28.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003967/1.213, allocations: 35 kB / 1.119 GB, free: 28.65 MB / 0.698 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 () * Number of clocked 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.0001776/1.214, allocations: 101.3 kB / 1.12 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005821/1.214, allocations: 199 kB / 1.12 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.214, allocations: 3.844 kB / 1.12 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/1.214, allocations: 40.73 kB / 1.12 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/1.215, allocations: 12.98 kB / 1.12 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/1.215, allocations: 180.5 kB / 1.12 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/1.215, allocations: 0.6953 MB / 1.121 GB, free: 27.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.171e-05/1.216, allocations: 7.938 kB / 1.121 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/1.216, allocations: 11.28 kB / 1.121 GB, free: 27.64 MB / 0.698 GB Notification: Performance of SimCode: time 8.61e-07/1.216, allocations: 0 / 1.121 GB, free: 27.64 MB / 0.698 GB Notification: Performance of Templates: time 0.00497/1.221, allocations: 1.248 MB / 1.122 GB, free: 27.53 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)