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.842/2.842, allocations: 285 MB / 292.5 MB, free: 10.54 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.001432/0.001432, allocations: 173 kB / 360.7 MB, free: 7.25 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 1.957/1.957, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 87.73 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.533e-05, allocations: 4 kB / 0.8509 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8804/0.8805, allocations: 115.3 MB / 0.9635 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3122/1.193, allocations: 137.6 MB / 1.098 GB, free: 2.938 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/1.193, allocations: 68.86 kB / 1.098 GB, free: 2.871 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01091/1.204, allocations: 2.242 MB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/1.204, allocations: 0 / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.204, allocations: 0.5312 kB / 1.1 GB, free: 0.6758 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.0006149/1.205, allocations: 408.6 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.205, allocations: 8.031 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/1.205, allocations: 13.86 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/1.205, allocations: 171 kB / 1.101 GB, free: 4 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/1.205, allocations: 0.5938 kB / 1.101 GB, free: 4 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.89e-05/1.205, allocations: 17.95 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001122/1.205, allocations: 19.94 kB / 1.101 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/1.205, allocations: 53.69 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/1.205, allocations: 0 / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/1.205, allocations: 2.438 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.206, allocations: 0.875 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/1.206, allocations: 327 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/1.206, allocations: 42.02 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/1.206, allocations: 20.92 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/1.206, allocations: 4 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/1.207, allocations: 71.47 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.655e-06/1.207, allocations: 3.938 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003046/1.207, allocations: 96.45 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/1.207, allocations: 55.36 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/1.207, allocations: 111.4 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/1.207, allocations: 29.7 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/1.207, allocations: 95.98 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/1.207, allocations: 15.8 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/1.207, allocations: 8 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.207, allocations: 314.8 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/1.208, allocations: 35.98 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/1.208, allocations: 69.78 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/1.208, allocations: 54.14 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.208, allocations: 0 / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005684/1.209, allocations: 149.5 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/1.209, allocations: 38.25 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/1.209, allocations: 0 / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/1.209, allocations: 4 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/1.209, allocations: 24.08 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.209, allocations: 4 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/1.209, allocations: 47.92 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/1.209, allocations: 14.52 kB / 1.102 GB, free: 14.19 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.0001187/1.21, allocations: 117.3 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/1.21, allocations: 3.906 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/1.21, allocations: 98.22 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/1.21, allocations: 4 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.21, allocations: 0 / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.21, allocations: 3.984 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/1.21, allocations: 321.1 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.21, allocations: 3.938 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/1.211, allocations: 19.92 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/1.211, allocations: 3.062 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.211, allocations: 0 / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.211, allocations: 0 / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.211, allocations: 0 / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/1.211, allocations: 191.4 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/1.211, allocations: 82.7 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/1.211, allocations: 4 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/1.211, allocations: 11.98 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/1.211, allocations: 7.984 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/1.211, allocations: 4 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.834e-05/1.211, allocations: 83.28 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.2e-07/1.211, allocations: 0 / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004035/1.212, allocations: 31.98 kB / 1.103 GB, free: 13.13 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.0001941/1.212, allocations: 117.4 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003558/1.212, allocations: 147.3 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.212, allocations: 0 / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.396e-05/1.212, allocations: 27.98 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/1.213, allocations: 11.44 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/1.213, allocations: 110.9 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/1.213, allocations: 0.6924 MB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.465e-05/1.213, allocations: 7.984 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/1.214, allocations: 11.44 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/1.214, allocations: 0 / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.005386/1.219, allocations: 1.161 MB / 1.105 GB, free: 10.85 MB / 0.7136 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)