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.737/2.737, allocations: 284.8 MB / 297.3 MB, free: 6.34 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.001403/0.001403, allocations: 180.8 kB / 365.7 MB, free: 2.562 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.042/2.042, allocations: 205.1 MB / 0.6241 GB, free: 8.184 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.00113/0.001129, allocations: 90.44 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.429e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.8463, allocations: 115.2 MB / 0.97 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3137/1.16, allocations: 138.2 MB / 1.105 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/1.16, allocations: 71.95 kB / 1.105 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01406/1.174, allocations: 2.264 MB / 1.107 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.485e-06/1.175, allocations: 0.8125 kB / 1.107 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.342e-05/1.175, allocations: 4 kB / 1.107 GB, free: 11.94 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.0008182/1.175, allocations: 397.9 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.86e-05/1.176, allocations: 12.78 kB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.846e-05/1.176, allocations: 9.109 kB / 1.108 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/1.176, allocations: 184.8 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/1.176, allocations: 4 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/1.176, allocations: 8 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/1.176, allocations: 57.69 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.176, allocations: 0 / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/1.176, allocations: 3.984 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.176, allocations: 1.188 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/1.176, allocations: 27.94 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009865/1.177, allocations: 343.2 kB / 1.108 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/1.178, allocations: 58.59 kB / 1.108 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/1.178, allocations: 20.98 kB / 1.108 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/1.178, allocations: 0 / 1.108 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/1.178, allocations: 80.81 kB / 1.108 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.845e-06/1.178, allocations: 0 / 1.108 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004139/1.179, allocations: 98.78 kB / 1.108 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/1.179, allocations: 59.41 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/1.179, allocations: 112.9 kB / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/1.179, allocations: 29.7 kB / 1.109 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/1.179, allocations: 95.98 kB / 1.109 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/1.179, allocations: 19.8 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/1.179, allocations: 4 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001878/1.179, allocations: 318.8 kB / 1.109 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/1.18, allocations: 39.98 kB / 1.109 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/1.18, allocations: 74.91 kB / 1.109 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/1.18, allocations: 69.67 kB / 1.109 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/1.18, allocations: 0 / 1.109 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006983/1.181, allocations: 191.1 kB / 1.109 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/1.181, allocations: 33.7 kB / 1.109 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.181, allocations: 4 kB / 1.11 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/1.181, allocations: 0 / 1.11 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/1.181, allocations: 23.92 kB / 1.11 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/1.181, allocations: 3.953 kB / 1.11 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/1.182, allocations: 48.11 kB / 1.11 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/1.182, allocations: 8 kB / 1.11 GB, free: 9.309 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.0002228/1.182, allocations: 118.2 kB / 1.11 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/1.182, allocations: 7.906 kB / 1.11 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005668/1.183, allocations: 110.2 kB / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/1.183, allocations: 0 / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.183, allocations: 3.938 kB / 1.11 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/1.183, allocations: 3.953 kB / 1.11 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007353/1.184, allocations: 354.5 kB / 1.11 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.184, allocations: 0 / 1.11 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/1.184, allocations: 17.36 kB / 1.11 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/1.184, allocations: 4 kB / 1.11 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/1.184, allocations: 0 / 1.11 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.228e-06/1.184, allocations: 3.953 kB / 1.11 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.184, allocations: 0 / 1.11 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/1.185, allocations: 187.4 kB / 1.11 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/1.185, allocations: 85 kB / 1.11 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/1.185, allocations: 4 kB / 1.11 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/1.185, allocations: 12 kB / 1.11 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/1.185, allocations: 11.94 kB / 1.11 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/1.185, allocations: 0 / 1.11 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001162/1.185, allocations: 101.9 kB / 1.111 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.11e-07/1.185, allocations: 0 / 1.111 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007241/1.186, allocations: 32 kB / 1.111 GB, free: 8.18 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.0003217/1.186, allocations: 107.2 kB / 1.111 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006667/1.187, allocations: 159.5 kB / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.187, allocations: 0 / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/1.187, allocations: 31.94 kB / 1.111 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/1.188, allocations: 15.47 kB / 1.111 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005835/1.188, allocations: 99.58 kB / 1.111 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/1.189, allocations: 0.6968 MB / 1.112 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.685e-05/1.189, allocations: 11.98 kB / 1.112 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/1.189, allocations: 15.44 kB / 1.112 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of SimCode: time 1.332e-06/1.189, allocations: 0 / 1.112 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of Templates: time 0.00794/1.197, allocations: 1.256 MB / 1.113 GB, free: 5.789 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)