Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04266/0.04266, allocations: 9.129 MB / 28.99 MB, free: 0.8164 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001134/0.001134, allocations: 91.16 kB / 35.33 MB, free: 1.074 MB / 24.77 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.00147/0.00147, allocations: 167.9 kB / 38.73 MB, free: 2.508 MB / 24.77 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.081/1.081, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003999/0.003999, allocations: 0.8271 MB / 276.5 MB, free: 0.7539 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.691/1.691, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.705e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.00145/0.001477, allocations: 0.7173 MB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.002608, allocations: 1.128 MB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.002652, allocations: 4 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.00268, allocations: 3.938 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.00275, allocations: 15.84 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.002984, allocations: 47.72 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.15e-05/0.003065, allocations: 47.84 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.886e-05/0.003144, allocations: 11.98 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.774e-05/0.003222, allocations: 19.98 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.003266, allocations: 23.91 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.003279, allocations: 4 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.26e-05/0.003352, allocations: 19.98 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.003372, allocations: 19.97 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.003394, allocations: 11.94 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.003502, allocations: 43.88 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.003506, allocations: 4 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.252e-06/0.003507, allocations: 0 / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003511, allocations: 0 / 0.6399 GB, free: 11.98 MB / 0.6043 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.0003105/0.003822, allocations: 260.4 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.003859, allocations: 11.98 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.006e-05/0.003939, allocations: 12.81 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.00402, allocations: 117.7 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.004032, allocations: 8.375 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.004042, allocations: 12.36 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.004142, allocations: 58.94 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.00415, allocations: 192 / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.004158, allocations: 4.375 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.004162, allocations: 384 / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.004184, allocations: 7.938 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.004438, allocations: 168.2 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.157e-05/0.0045, allocations: 34.62 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.004513, allocations: 12.86 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.004528, allocations: 0 / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.527e-05/0.004593, allocations: 63.45 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.004595, allocations: 0 / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0001038/0.004699, allocations: 53.62 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.004733, allocations: 55.41 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.836e-05/0.004791, allocations: 110.7 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.004809, allocations: 25.7 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005265/0.005335, allocations: 92.08 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.005357, allocations: 23.83 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.005388, allocations: 21.7 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.005466, allocations: 322.8 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.00548, allocations: 4 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-05/0.005516, allocations: 44.2 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.21e-05/0.005568, allocations: 48.22 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.00557, allocations: 4 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.294e-05/0.005653, allocations: 73.55 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.005665, allocations: 4 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.00567, allocations: 256 / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.005685, allocations: 7.938 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.005768, allocations: 19.98 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.005772, allocations: 4 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.517e-05/0.005797, allocations: 4 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.005804, allocations: 0 / 0.6416 GB, free: 10.13 MB / 0.6043 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 6.381e-05/0.005868, allocations: 117.9 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.005876, allocations: 15.92 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.849e-05/0.005965, allocations: 54.11 kB / 0.6417 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.005969, allocations: 7.938 kB / 0.6417 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.005971, allocations: 3.984 kB / 0.6417 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.005975, allocations: 0 / 0.6417 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.006135, allocations: 210.7 kB / 0.6419 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.006136, allocations: 0 / 0.6419 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.006166, allocations: 4 kB / 0.6419 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006168, allocations: 0 / 0.6419 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.006173, allocations: 3.938 kB / 0.642 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.006174, allocations: 8 kB / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.006176, allocations: 0 / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.874e-05/0.006244, allocations: 147.5 kB / 0.6421 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.006252, allocations: 7.938 kB / 0.6421 GB, free: 9.508 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.006263, allocations: 3.938 kB / 0.6421 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.333e-05/0.006297, allocations: 7.984 kB / 0.6421 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.006326, allocations: 4 kB / 0.6421 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.006331, allocations: 4.188 kB / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.222e-05/0.006343, allocations: 12.84 kB / 0.6421 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.006343, allocations: 0 / 0.6421 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001291/0.006472, allocations: 8 kB / 0.6421 GB, free: 9.465 MB / 0.6043 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 9.891e-05/0.006571, allocations: 92.41 kB / 0.6422 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.987e-05/0.006641, allocations: 40.77 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.006643, allocations: 0 / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.006667, allocations: 16.8 kB / 0.6423 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.00681, allocations: 8 kB / 0.6423 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.007165, allocations: 144.9 kB / 0.6424 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.287e-05/0.007198, allocations: 59.34 kB / 0.6425 GB, free: 9.051 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.165e-05/0.007219, allocations: 4 kB / 0.6425 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.007265, allocations: 63.34 kB / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of SimCode: time 7.31e-07/0.007266, allocations: 0 / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of Templates: time 0.002542/0.009807, allocations: 0.8746 MB / 0.6434 GB, free: 8.113 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.49702139897272]