Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0008348/0.0008348, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006735/0.00757, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008788/0.0008788, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007176/0.008054, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9535/0.9535, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09943/1.053, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7619/0.7619, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3111/1.073, allocations: 49.13 MB / 448.6 MB, free: 5.879 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 449.9 MB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.994e-05, allocations: 4.188 kB / 449.9 MB, free: 4.598 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.00142/0.00144, allocations: 0.7159 MB / 450.7 MB, free: 3.914 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.002345, allocations: 1.122 MB / 451.8 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.002382, allocations: 0 / 451.8 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.0024, allocations: 7.938 kB / 451.8 MB, free: 2.773 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.529e-05/0.002436, allocations: 11.88 kB / 451.8 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.002584, allocations: 40.45 kB / 451.8 MB, free: 2.727 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.238e-05/0.002666, allocations: 49.52 kB / 451.9 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.226e-05/0.002748, allocations: 12.41 kB / 451.9 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.228e-05/0.002831, allocations: 34.48 kB / 451.9 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.002875, allocations: 17.84 kB / 451.9 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.002888, allocations: 4 kB / 451.9 MB, free: 2.629 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-05/0.002958, allocations: 21.91 kB / 452 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.002977, allocations: 10.41 kB / 452 MB, free: 2.602 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.002998, allocations: 9.422 kB / 452 MB, free: 2.594 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.603e-05/0.003094, allocations: 39.3 kB / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.003103, allocations: 0 / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003104, allocations: 2.125 kB / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.003113, allocations: 4 kB / 452 MB, free: 2.555 MB / 426.7 MB 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.0003582/0.003471, allocations: 271.6 kB / 452.3 MB, free: 2.266 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.003501, allocations: 8.031 kB / 452.3 MB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.003608, allocations: 85.98 kB / 452.4 MB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.021e-05/0.003688, allocations: 118.4 kB / 452.5 MB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.003697, allocations: 4.375 kB / 452.5 MB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.003708, allocations: 7.609 kB / 452.5 MB, free: 2.008 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.361e-05/0.003802, allocations: 62.92 kB / 452.6 MB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.003808, allocations: 192 / 452.6 MB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.003815, allocations: 4.375 kB / 452.6 MB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.00382, allocations: 1.141 kB / 452.6 MB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.00384, allocations: 8.562 kB / 452.6 MB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.004069, allocations: 169.8 kB / 452.8 MB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.8e-05/0.004127, allocations: 38.55 kB / 452.8 MB, free: 1.699 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.143e-05/0.004138, allocations: 8.859 kB / 452.8 MB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.004155, allocations: 7.922 kB / 452.8 MB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.233e-05/0.004217, allocations: 55.52 kB / 452.9 MB, free: 1.617 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.004218, allocations: 0.9844 kB / 452.9 MB, free: 1.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001004/0.004319, allocations: 57.56 kB / 452.9 MB, free: 1.555 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.00435, allocations: 51.41 kB / 453 MB, free: 1.492 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.004402, allocations: 115.6 kB / 453.1 MB, free: 1.367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.004415, allocations: 33.7 kB / 453.1 MB, free: 1.328 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.004446, allocations: 98.62 kB / 453.2 MB, free: 1.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.004461, allocations: 11.91 kB / 453.2 MB, free: 1.219 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.004489, allocations: 25.69 kB / 453.3 MB, free: 1.188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.00456, allocations: 319.8 kB / 453.6 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.004572, allocations: 5.312 kB / 453.6 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/0.004607, allocations: 44.81 kB / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.481e-05/0.004662, allocations: 54.12 kB / 453.7 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.004664, allocations: 0 / 453.7 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.674e-05/0.004731, allocations: 67.45 kB / 453.7 MB, free: 0.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.004742, allocations: 4 kB / 453.7 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.004746, allocations: 4.625 kB / 453.7 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.004757, allocations: 3.938 kB / 453.7 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.004834, allocations: 25.3 kB / 453.8 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.004837, allocations: 0 / 453.8 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.004861, allocations: 4 kB / 453.8 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.004868, allocations: 5.625 kB / 453.8 MB, free: 0.625 MB / 426.7 MB 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 5.357e-05/0.004922, allocations: 128.8 kB / 453.9 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-06/0.004928, allocations: 0 / 453.9 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.064e-05/0.004999, allocations: 67.11 kB / 454 MB, free: 432 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.005001, allocations: 3.938 kB / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.005002, allocations: 0 / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.005005, allocations: 0.625 kB / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.005146, allocations: 203.3 kB / 454.2 MB, free: 200 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005147, allocations: 0.9062 kB / 454.2 MB, free: 200 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-05/0.005171, allocations: 11.98 kB / 454.2 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.005178, allocations: 9.422 kB / 454.2 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005179, allocations: 0 / 454.2 MB, free: 180 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.005184, allocations: 6.094 kB / 454.2 MB, free: 176 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005185, allocations: 0 / 454.2 MB, free: 176 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005186, allocations: 0 / 454.2 MB, free: 176 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.446e-05/0.005251, allocations: 139.5 kB / 454.3 MB, free: 20 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.005266, allocations: 16.7 kB / 454.4 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.886e-05/0.005295, allocations: 0 / 454.4 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.00533, allocations: 13.42 kB / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.005333, allocations: 0 / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.351e-05/0.005347, allocations: 12.84 kB / 454.4 MB, free: 15.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005347, allocations: 0 / 454.4 MB, free: 15.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001289/0.005476, allocations: 16.78 kB / 454.4 MB, free: 15.96 MB / 442.7 MB 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 9.538e-05/0.005571, allocations: 82.31 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.023e-05/0.005641, allocations: 34.41 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.005645, allocations: 4 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.005675, allocations: 21.61 kB / 454.5 MB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.005821, allocations: 72.95 kB / 454.6 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.006362, allocations: 150.5 kB / 454.8 MB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.373e-05/0.006396, allocations: 63.8 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.096e-05/0.006417, allocations: 0.6562 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.006461, allocations: 55.38 kB / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of SimCode: time 6.52e-07/0.006462, allocations: 0.5625 kB / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of Templates: time 0.002204/0.008665, allocations: 0.8568 MB / 455.7 MB, free: 14.63 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4105245508253574]