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.002421/0.002421, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002878/0.002878, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 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 1.647/1.647, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 3.28/3.28, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] 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 3.817e-06/3.817e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.691e-05, allocations: 2.281 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001922/0.001959, allocations: 0.658 MB / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.003743, allocations: 1.081 MB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.003806, allocations: 0 / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.003843, allocations: 3.938 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.496e-05/0.003908, allocations: 7.922 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.00423, allocations: 47.77 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.004356, allocations: 59.72 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.004466, allocations: 4 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.227e-05/0.004558, allocations: 27.97 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.004615, allocations: 19.97 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.004633, allocations: 4 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.004708, allocations: 27.86 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.004731, allocations: 7.984 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.004769, allocations: 15.98 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.004938, allocations: 71.75 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.004941, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.763e-06/0.004943, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.004947, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 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.0006117/0.005559, allocations: 294.2 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.005599, allocations: 9.344 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.751e-05/0.005696, allocations: 12.88 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.005809, allocations: 105.8 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.005823, allocations: 384 / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.005841, allocations: 12.31 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.006045, allocations: 62.2 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.006056, allocations: 192 / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.006071, allocations: 4.375 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.006076, allocations: 4.375 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.006261, allocations: 47.83 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.006751, allocations: 224.5 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.006926, allocations: 54.48 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.945e-05/0.007025, allocations: 28.97 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.007048, allocations: 0 / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.007234, allocations: 79.31 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.007235, allocations: 4 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0004364/0.007671, allocations: 125.5 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.007728, allocations: 51.41 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.007837, allocations: 105.8 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.007865, allocations: 33.7 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.007928, allocations: 80.14 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.007954, allocations: 23.89 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.007999, allocations: 17.72 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.008174, allocations: 322.8 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.807e-05/0.008272, allocations: 19.98 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.008405, allocations: 64.2 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.008629, allocations: 88.19 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.008631, allocations: 4 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002827/0.008914, allocations: 109.5 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.008935, allocations: 11.94 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.008943, allocations: 3.984 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.008958, allocations: 4.156 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.009079, allocations: 19.92 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.009087, allocations: 4 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.009161, allocations: 7.938 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.009172, allocations: 4 kB / 1.005 GB, free: 8.816 MB / 0.9636 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 0.0001115/0.009284, allocations: 117.8 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.009298, allocations: 7.891 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.009584, allocations: 106 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.009586, allocations: 4 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.00959, allocations: 0 / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.009595, allocations: 4 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.01005, allocations: 294.2 kB / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01005, allocations: 0 / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.01013, allocations: 7.984 kB / 1.006 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.01013, allocations: 7.938 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.01014, allocations: 4.312 kB / 1.006 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01014, allocations: 4 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01014, allocations: 4 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.01045, allocations: 195.4 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.01046, allocations: 4 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.01048, allocations: 0 / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.01055, allocations: 7.984 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.01061, allocations: 11.97 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.01061, allocations: 0 / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.993e-05/0.01067, allocations: 87.28 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01067, allocations: 4 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002379/0.01091, allocations: 12 kB / 1.006 GB, free: 7.883 MB / 0.9636 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.0001953/0.01111, allocations: 111.1 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.01136, allocations: 59.89 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.01137, allocations: 4 kB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.01148, allocations: 32.47 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.01174, allocations: 15.88 kB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.01211, allocations: 132.9 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.712e-05/0.01218, allocations: 67.34 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.01221, allocations: 4 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.01225, allocations: 16.5 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of SimCode: time 3.7e-07/0.01225, allocations: 0 / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of Templates: time 0.003903/0.01615, allocations: 0.8379 MB / 1.007 GB, free: 6.57 MB / 0.9636 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.17229047138244]