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.001396/0.001396, allocations: 81.58 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001567/0.001567, allocations: 164.4 kB / 22.46 MB, free: 5.359 MB / 14.72 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.64/1.64, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.311/1.311, allocations: 154.6 MB / 413.7 MB, free: 5.285 MB / 382.1 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 178] 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.545e-06/2.545e-06, allocations: 0 / 0.6185 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.687e-05/3.941e-05, allocations: 5.125 kB / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002341/0.002381, allocations: 0.6538 MB / 0.6191 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.004309, allocations: 1.089 MB / 0.6202 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.004386, allocations: 1.031 kB / 0.6202 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.004419, allocations: 3.938 kB / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.788e-05/0.004506, allocations: 10.5 kB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.004883, allocations: 39.77 kB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.005054, allocations: 51.84 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.005173, allocations: 7.984 kB / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.005287, allocations: 27.92 kB / 0.6203 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.005347, allocations: 15.97 kB / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.005367, allocations: 4.719 kB / 0.6204 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.155e-05/0.005458, allocations: 27.91 kB / 0.6204 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.005493, allocations: 12.94 kB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.005539, allocations: 15.98 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.005726, allocations: 67.77 kB / 0.6205 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.005731, allocations: 0.5938 kB / 0.6205 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005732, allocations: 0 / 0.6205 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.005737, allocations: 1 kB / 0.6205 GB, free: 2.652 MB / 0.5294 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.0006547/0.006392, allocations: 298.1 kB / 0.6208 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.006441, allocations: 9.469 kB / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.006572, allocations: 8.891 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.006715, allocations: 113.8 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.006737, allocations: 384 / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.006765, allocations: 8.375 kB / 0.6209 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.007008, allocations: 54.23 kB / 0.6209 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.007021, allocations: 4.188 kB / 0.6209 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.00704, allocations: 8.375 kB / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.007048, allocations: 4.359 kB / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.007241, allocations: 43.91 kB / 0.621 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.0078, allocations: 228.4 kB / 0.6212 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.007997, allocations: 54.53 kB / 0.6213 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.008102, allocations: 24.97 kB / 0.6213 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.008132, allocations: 0 / 0.6213 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.008414, allocations: 87.25 kB / 0.6214 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.008416, allocations: 0 / 0.6214 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0004978/0.008914, allocations: 117.6 kB / 0.6215 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.008973, allocations: 51.41 kB / 0.6215 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.00912, allocations: 113.8 kB / 0.6216 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.009149, allocations: 33.7 kB / 0.6217 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.009217, allocations: 88.03 kB / 0.6218 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.009255, allocations: 15.91 kB / 0.6218 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.009321, allocations: 29.7 kB / 0.6218 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.00951, allocations: 314.8 kB / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.009637, allocations: 27.97 kB / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.009774, allocations: 60.2 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.01003, allocations: 88.2 kB / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01003, allocations: 0 / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003255/0.01035, allocations: 109.5 kB / 0.6224 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.01038, allocations: 11.94 kB / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.01039, allocations: 0 / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.01041, allocations: 4 kB / 0.6224 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.01057, allocations: 16.14 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.01058, allocations: 4 kB / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.01066, allocations: 11.94 kB / 0.6224 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.01067, allocations: 4 kB / 0.6224 GB, free: 452 kB / 0.5294 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.0001303/0.0108, allocations: 125.4 kB / 0.6225 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.01083, allocations: 11.94 kB / 0.6226 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.01115, allocations: 94.08 kB / 0.6227 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01116, allocations: 0 / 0.6227 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.01116, allocations: 8 kB / 0.6227 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.01117, allocations: 3.984 kB / 0.6227 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.01166, allocations: 302.4 kB / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01166, allocations: 0 / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.01173, allocations: 11.98 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01173, allocations: 0 / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.01174, allocations: 0 / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01174, allocations: 0 / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01174, allocations: 0 / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.0121, allocations: 199.4 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.01211, allocations: 3.953 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.01213, allocations: 3.938 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.01222, allocations: 8.172 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.01228, allocations: 4 kB / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.01229, allocations: 7.938 kB / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.277e-05/0.01237, allocations: 87.27 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01237, allocations: 3.938 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002669/0.01264, allocations: 16 kB / 0.6233 GB, free: 15.5 MB / 0.545 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.000212/0.01285, allocations: 103.2 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.01315, allocations: 67.88 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01315, allocations: 0 / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.01327, allocations: 23.98 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.01359, allocations: 18.73 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.01404, allocations: 136.8 kB / 0.6236 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.107e-05/0.01413, allocations: 67.33 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.01417, allocations: 7.75 kB / 0.6237 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.0142, allocations: 12.5 kB / 0.6237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/0.0142, allocations: 0 / 0.6237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of Templates: time 0.004482/0.01869, allocations: 0.8259 MB / 0.6245 GB, free: 14.21 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.408201836049557] Failed to read output from testmodel.py, exit status != 0: 0.029255632311105728 0.046193953 0.037047458000000005 Calling exit ...