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.00098/0.00098, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001077/0.001077, allocations: 181 kB / 23.35 MB, free: 1.137 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.053/1.053, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8054/0.8054, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 2.855e-06/2.855e-06, allocations: 0.6562 kB / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.933e-05, allocations: 2.938 kB / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.00161/0.00164, allocations: 0.7106 MB / 481.1 MB, free: 5.875 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.002704, allocations: 1.135 MB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.002749, allocations: 4.875 kB / 482.2 MB, free: 4.73 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.002776, allocations: 4.484 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.813e-05/0.002844, allocations: 3.906 kB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.003074, allocations: 44.53 kB / 482.3 MB, free: 4.684 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.016e-05/0.003154, allocations: 43.64 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.003232, allocations: 13.78 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.003337, allocations: 29.84 kB / 482.4 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.00338, allocations: 14.81 kB / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.003395, allocations: 4 kB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.003471, allocations: 24.75 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.00349, allocations: 10.83 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.003516, allocations: 8.875 kB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.003627, allocations: 62.12 kB / 482.5 MB, free: 4.496 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.003631, allocations: 0 / 482.5 MB, free: 4.496 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.003632, allocations: 0 / 482.5 MB, free: 4.496 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.003636, allocations: 1.219 kB / 482.5 MB, free: 4.496 MB / 442.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.0003164/0.003952, allocations: 259.9 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.003983, allocations: 8.031 kB / 482.8 MB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/0.004061, allocations: 10.12 kB / 482.8 MB, free: 4.203 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.802e-05/0.004139, allocations: 121.7 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.004148, allocations: 384 / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.004158, allocations: 5.438 kB / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.00426, allocations: 66.88 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.004266, allocations: 1.031 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.004274, allocations: 1.875 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004278, allocations: 384 / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.004302, allocations: 13.31 kB / 483 MB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.004545, allocations: 164.3 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.511e-05/0.0046, allocations: 36 kB / 483.2 MB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.004614, allocations: 12.8 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.004626, allocations: 0 / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.004685, allocations: 52.23 kB / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.004686, allocations: 0 / 483.2 MB, free: 3.672 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001031/0.004789, allocations: 59 kB / 483.3 MB, free: 3.609 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.004826, allocations: 59.34 kB / 483.3 MB, free: 3.539 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.004889, allocations: 118.7 kB / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.004901, allocations: 33.64 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.004936, allocations: 88.7 kB / 483.6 MB, free: 3.281 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.004954, allocations: 16.62 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.004989, allocations: 29.69 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.507e-05/0.005084, allocations: 315.7 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.005096, allocations: 4 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.005133, allocations: 40.28 kB / 484 MB, free: 2.855 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.344e-05/0.005187, allocations: 58.36 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.005189, allocations: 0.625 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.5e-05/0.005264, allocations: 66.8 kB / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005276, allocations: 8 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.005281, allocations: 0.625 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.005298, allocations: 4.688 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.005379, allocations: 25 kB / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.005382, allocations: 0.6562 kB / 484.1 MB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.005411, allocations: 8 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.005419, allocations: 5.75 kB / 484.1 MB, free: 2.668 MB / 442.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 6.28e-05/0.005482, allocations: 120.1 kB / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/0.005489, allocations: 256 / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.83e-05/0.005567, allocations: 66.05 kB / 484.3 MB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.00557, allocations: 4.844 kB / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.005571, allocations: 0 / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.005574, allocations: 0.75 kB / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.005722, allocations: 202.7 kB / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005724, allocations: 1.609 kB / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.005749, allocations: 12 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.005751, allocations: 6.328 kB / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.005756, allocations: 3.938 kB / 484.6 MB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.005757, allocations: 3.938 kB / 484.6 MB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.005759, allocations: 0 / 484.6 MB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.193e-05/0.00583, allocations: 139.5 kB / 484.7 MB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.005836, allocations: 0 / 484.7 MB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.005853, allocations: 17.48 kB / 484.7 MB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.105e-05/0.005884, allocations: 0 / 484.7 MB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.005912, allocations: 7.984 kB / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.005916, allocations: 0 / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.298e-05/0.005929, allocations: 18.69 kB / 484.7 MB, free: 2.027 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005929, allocations: 0 / 484.7 MB, free: 2.027 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001464/0.006075, allocations: 16 kB / 484.8 MB, free: 2.012 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 0.0001191/0.006194, allocations: 95.17 kB / 484.9 MB, free: 1.918 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.652e-05/0.006281, allocations: 38.5 kB / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.006283, allocations: 0 / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.00631, allocations: 16.86 kB / 484.9 MB, free: 1.859 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.006462, allocations: 9.328 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.006834, allocations: 150.1 kB / 485.1 MB, free: 1.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.586e-05/0.00687, allocations: 56.45 kB / 485.1 MB, free: 1.605 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.266e-05/0.006893, allocations: 7.984 kB / 485.1 MB, free: 1.598 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.006941, allocations: 60.25 kB / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006941, allocations: 0 / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of Templates: time 0.002345/0.009286, allocations: 0.8532 MB / 486 MB, free: 0.7422 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.840834347065538]