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.0006751/0.0006751, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008241/0.001499, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007019/0.0007019, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008335/0.001535, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1/1, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08972/1.09, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7835/0.7835, allocations: 155.3 MB / 399.2 MB, free: 15.92 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.3203/1.104, allocations: 49.13 MB / 448.4 MB, free: 6.012 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.312e-06/1.312e-06, allocations: 0 / 449.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.212e-05, allocations: 4.531 kB / 449.7 MB, free: 4.758 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001325/0.001337, allocations: 0.7018 MB / 450.4 MB, free: 4.09 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.002373, allocations: 1.134 MB / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.002404, allocations: 0 / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.002428, allocations: 3.938 kB / 451.5 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.295e-05/0.002461, allocations: 7.047 kB / 451.5 MB, free: 2.938 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.002603, allocations: 44.97 kB / 451.6 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.169e-05/0.002684, allocations: 49.83 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.516e-05/0.002749, allocations: 8.859 kB / 451.6 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.002831, allocations: 37.91 kB / 451.6 MB, free: 2.816 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.552e-05/0.002876, allocations: 17.5 kB / 451.7 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.00289, allocations: 4 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.538e-05/0.002965, allocations: 21.94 kB / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.002981, allocations: 6.406 kB / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.003004, allocations: 9.094 kB / 451.7 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003111, allocations: 55.33 kB / 451.8 MB, free: 2.715 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.003125, allocations: 0.5938 kB / 451.8 MB, free: 2.715 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003125, allocations: 0.625 kB / 451.8 MB, free: 2.715 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.003141, allocations: 0 / 451.8 MB, free: 2.715 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.004433/0.007574, allocations: 264.5 kB / 452 MB, free: 2.434 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.007608, allocations: 11.97 kB / 452 MB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.007736, allocations: 93.97 kB / 452.1 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.145e-05/0.007817, allocations: 109.8 kB / 452.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.007827, allocations: 1.281 kB / 452.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.007838, allocations: 11 kB / 452.2 MB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.00794, allocations: 58.94 kB / 452.3 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.007947, allocations: 5.125 kB / 452.3 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.007953, allocations: 384 / 452.3 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.007958, allocations: 1.25 kB / 452.3 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.832e-05/0.007986, allocations: 15.92 kB / 452.3 MB, free: 2.086 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.008234, allocations: 164.8 kB / 452.5 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.008295, allocations: 28.36 kB / 452.5 MB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.008313, allocations: 16.84 kB / 452.5 MB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.008334, allocations: 7.938 kB / 452.5 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.274e-05/0.008407, allocations: 56.28 kB / 452.6 MB, free: 1.781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.008408, allocations: 0 / 452.6 MB, free: 1.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001082/0.008516, allocations: 59.58 kB / 452.6 MB, free: 1.719 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.008551, allocations: 51.41 kB / 452.7 MB, free: 1.656 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.06e-05/0.008611, allocations: 122.6 kB / 452.8 MB, free: 1.523 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.008625, allocations: 29.7 kB / 452.8 MB, free: 1.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.008656, allocations: 89.75 kB / 452.9 MB, free: 1.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.008673, allocations: 16.45 kB / 452.9 MB, free: 1.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.008708, allocations: 25.7 kB / 453 MB, free: 1.352 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.008783, allocations: 320.1 kB / 453.3 MB, free: 1.031 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.008796, allocations: 4 kB / 453.3 MB, free: 1.027 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.008831, allocations: 44.28 kB / 453.3 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.365e-05/0.008885, allocations: 54.08 kB / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.008886, allocations: 1.062 kB / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.55e-05/0.008972, allocations: 66.53 kB / 453.5 MB, free: 0.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.008985, allocations: 8.891 kB / 453.5 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.008988, allocations: 4 kB / 453.5 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.008999, allocations: 7.938 kB / 453.5 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.009075, allocations: 20.58 kB / 453.5 MB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.009079, allocations: 5.375 kB / 453.5 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.009111, allocations: 4 kB / 453.5 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.009118, allocations: 4 kB / 453.5 MB, free: 0.7812 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.654e-05/0.009174, allocations: 120.5 kB / 453.6 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.009184, allocations: 7.984 kB / 453.6 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.63e-05/0.00926, allocations: 55.5 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.009264, allocations: 5.156 kB / 453.7 MB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.009265, allocations: 3.938 kB / 453.7 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.009267, allocations: 0 / 453.7 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.009417, allocations: 203.7 kB / 453.9 MB, free: 364 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.009418, allocations: 0 / 453.9 MB, free: 364 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.009445, allocations: 8.656 kB / 453.9 MB, free: 356 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.009452, allocations: 7.891 kB / 453.9 MB, free: 348 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.009454, allocations: 4.844 kB / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-06/0.009459, allocations: 0 / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.00946, allocations: 0.625 kB / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00946, allocations: 3.938 kB / 453.9 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.694e-05/0.009537, allocations: 153 kB / 454.1 MB, free: 172 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.009551, allocations: 3.938 kB / 454.1 MB, free: 168 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.594e-05/0.009597, allocations: 0 / 454.1 MB, free: 168 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.009621, allocations: 7.984 kB / 454.1 MB, free: 160 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.009624, allocations: 2.281 kB / 454.1 MB, free: 160 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.415e-05/0.009638, allocations: 16.84 kB / 454.1 MB, free: 140 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009638, allocations: 0 / 454.1 MB, free: 140 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001833/0.009821, allocations: 12 kB / 454.1 MB, free: 128 kB / 426.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 8.991e-05/0.009911, allocations: 86.42 kB / 454.2 MB, free: 36 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.574e-05/0.009997, allocations: 37.73 kB / 454.2 MB, free: 15.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.01, allocations: 4 kB / 454.2 MB, free: 15.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.01003, allocations: 25.91 kB / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/0.01319, allocations: 12 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.01388, allocations: 147.9 kB / 454.4 MB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.01391, allocations: 59.22 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.362e-05/0.01394, allocations: 4.531 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.01399, allocations: 59.92 kB / 454.5 MB, free: 15.65 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01399, allocations: 4.562 kB / 454.5 MB, free: 15.64 MB / 442.7 MB Notification: Performance of Templates: time 0.003146/0.01713, allocations: 0.8769 MB / 455.4 MB, free: 14.83 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.6018988620489836]