Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009315/0.0009315, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009014/0.0009014, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9662/0.9662, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.008/2.008, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.432e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001391/0.001406, allocations: 0.7306 MB / 0.7759 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.002547, allocations: 1.119 MB / 0.777 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.002589, allocations: 2.75 kB / 0.777 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.002615, allocations: 3.938 kB / 0.777 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.905e-05/0.002684, allocations: 2.406 kB / 0.777 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.002904, allocations: 48.36 kB / 0.777 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.218e-05/0.002986, allocations: 47.84 kB / 0.7771 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.03e-05/0.003056, allocations: 8.766 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.917e-05/0.003135, allocations: 36.78 kB / 0.7771 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.003175, allocations: 16.47 kB / 0.7771 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.00319, allocations: 4 kB / 0.7771 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.003259, allocations: 19.98 kB / 0.7772 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.003275, allocations: 11.97 kB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.003297, allocations: 15.94 kB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.003397, allocations: 47.81 kB / 0.7772 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.0034, allocations: 4 kB / 0.7772 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003401, allocations: 0 / 0.7772 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.003405, allocations: 0.7188 kB / 0.7772 GB, free: 3.297 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002905/0.003695, allocations: 256.8 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.003727, allocations: 14.03 kB / 0.7775 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.837e-05/0.003805, allocations: 8.922 kB / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.588e-05/0.003881, allocations: 114.2 kB / 0.7776 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.003889, allocations: 0.9688 kB / 0.7776 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.003898, allocations: 8.375 kB / 0.7776 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.79e-05/0.003986, allocations: 67.69 kB / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.003995, allocations: 9.234 kB / 0.7777 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.004001, allocations: 384 / 0.7777 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.004005, allocations: 384 / 0.7777 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.138e-05/0.004026, allocations: 11.94 kB / 0.7777 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.004265, allocations: 161.1 kB / 0.7779 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.004326, allocations: 39.91 kB / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.465e-05/0.00434, allocations: 8.859 kB / 0.7779 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.004353, allocations: 4.469 kB / 0.7779 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.251e-05/0.004416, allocations: 60.53 kB / 0.778 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.004417, allocations: 0 / 0.778 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001025/0.004519, allocations: 53.62 kB / 0.778 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.004551, allocations: 56.88 kB / 0.7781 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.795e-05/0.004609, allocations: 118.6 kB / 0.7782 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.004621, allocations: 29.7 kB / 0.7782 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.004651, allocations: 88.12 kB / 0.7783 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.004669, allocations: 16.58 kB / 0.7783 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.004701, allocations: 25.7 kB / 0.7783 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.00478, allocations: 316.4 kB / 0.7786 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.004799, allocations: 8 kB / 0.7787 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.573e-05/0.004845, allocations: 44.52 kB / 0.7787 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.123e-05/0.004916, allocations: 50.19 kB / 0.7787 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.00492, allocations: 4 kB / 0.7788 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001079/0.005028, allocations: 67.02 kB / 0.7788 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.005045, allocations: 10.5 kB / 0.7788 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.00505, allocations: 0.5312 kB / 0.7788 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.005067, allocations: 9.281 kB / 0.7788 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.005168, allocations: 19.98 kB / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.005174, allocations: 3.938 kB / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.005217, allocations: 4.656 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.005227, allocations: 7.938 kB / 0.7789 GB, free: 1.461 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.162e-05/0.005299, allocations: 119 kB / 0.779 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.005311, allocations: 7.984 kB / 0.779 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-05/0.005402, allocations: 51.19 kB / 0.779 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.005405, allocations: 3.938 kB / 0.779 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.005407, allocations: 3.938 kB / 0.779 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.005411, allocations: 4.484 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.005887, allocations: 206.8 kB / 0.7792 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.005889, allocations: 1.781 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.005934, allocations: 8 kB / 0.7793 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.005937, allocations: 0 / 0.7793 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.005944, allocations: 3.938 kB / 0.7793 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.005946, allocations: 0.9062 kB / 0.7793 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.005948, allocations: 3.938 kB / 0.7793 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.963e-05/0.006048, allocations: 143.5 kB / 0.7794 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.006059, allocations: 8.844 kB / 0.7794 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.006076, allocations: 8.125 kB / 0.7794 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.385e-05/0.006139, allocations: 8.516 kB / 0.7794 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.006172, allocations: 4.656 kB / 0.7794 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.006177, allocations: 0 / 0.7794 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.811e-05/0.006195, allocations: 16.09 kB / 0.7794 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.006195, allocations: 4 kB / 0.7795 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002503/0.006445, allocations: 12 kB / 0.7795 GB, free: 0.8086 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001112/0.006556, allocations: 84.41 kB / 0.7795 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.984e-05/0.006646, allocations: 36.78 kB / 0.7796 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.006649, allocations: 0 / 0.7796 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.454e-05/0.006683, allocations: 23.81 kB / 0.7796 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.006874, allocations: 4 kB / 0.7796 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.007289, allocations: 156.4 kB / 0.7798 GB, free: 480 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.007331, allocations: 59.34 kB / 0.7798 GB, free: 400 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.007361, allocations: 9.484 kB / 0.7798 GB, free: 392 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.007417, allocations: 59.36 kB / 0.7799 GB, free: 332 kB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/0.007417, allocations: 0 / 0.7799 GB, free: 332 kB / 0.7292 GB Notification: Performance of Templates: time 0.002663/0.01008, allocations: 0.8613 MB / 0.7807 GB, free: 15.51 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.873846866656095]