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.04067/0.04067, allocations: 9.132 MB / 28.99 MB, free: 328 kB / 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.0008731/0.0008731, allocations: 95.27 kB / 35.33 MB, free: 0.9219 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.001128/0.001128, allocations: 160.5 kB / 38.73 MB, free: 2.402 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 0.9249/0.9249, 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.00532/0.00532, allocations: 0.8293 MB / 276.5 MB, free: 0.75 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.638/1.638, allocations: 274.9 MB / 0.5419 GB, free: 0.6602 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 1.333e-06/1.333e-06, allocations: 0 / 0.6378 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.808e-05, allocations: 6.312 kB / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001173/0.001192, allocations: 0.6741 MB / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002204, allocations: 1.124 MB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.002245, allocations: 8 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.002269, allocations: 3.938 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.00233, allocations: 11.86 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.00256, allocations: 43.78 kB / 0.6397 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.002635, allocations: 51.83 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.297e-05/0.002698, allocations: 8 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.837e-05/0.002766, allocations: 27.91 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.002809, allocations: 19.91 kB / 0.6398 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.002823, allocations: 8 kB / 0.6398 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.579e-05/0.002879, allocations: 19.98 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.002896, allocations: 8 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.002921, allocations: 19.91 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.822e-05/0.00302, allocations: 47.88 kB / 0.6399 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003022, allocations: 0 / 0.6399 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003023, allocations: 0 / 0.6399 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.003026, allocations: 0 / 0.6399 GB, free: 12.09 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.0003017/0.003327, allocations: 260.4 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.003362, allocations: 11.98 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.003443, allocations: 12.92 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.501e-05/0.003518, allocations: 117.6 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.003528, allocations: 4.375 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.003539, allocations: 12.36 kB / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.003635, allocations: 66.92 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.003641, allocations: 192 / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.003647, allocations: 384 / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.003652, allocations: 384 / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.53e-05/0.003677, allocations: 15.92 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.003912, allocations: 168.2 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.444e-05/0.003967, allocations: 30.64 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.00398, allocations: 12.86 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.003992, allocations: 3.984 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.004046, allocations: 51.53 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.004047, allocations: 0 / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.000106/0.004153, allocations: 61.55 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.004194, allocations: 59.41 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.495e-05/0.004249, allocations: 110.7 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.004259, allocations: 25.7 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.004285, allocations: 84.09 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.004302, allocations: 23.83 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.004331, allocations: 29.69 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.532e-05/0.004397, allocations: 314.8 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.00441, allocations: 7.984 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.004442, allocations: 44.22 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.486e-05/0.004487, allocations: 48.22 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.00449, allocations: 3.984 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.627e-05/0.004556, allocations: 65.62 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.004566, allocations: 11.94 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.00457, allocations: 0 / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.004582, allocations: 7.922 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.004644, allocations: 16 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.004647, allocations: 0 / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.004673, allocations: 7.984 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.00468, allocations: 7.938 kB / 0.6415 GB, free: 10.24 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 5.411e-05/0.004734, allocations: 114 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-06/0.004742, allocations: 8.188 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.786e-05/0.00481, allocations: 62.11 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.004813, allocations: 3.938 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.004814, allocations: 0 / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.004817, allocations: 0 / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.004955, allocations: 206.7 kB / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.004956, allocations: 0 / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.004978, allocations: 7.984 kB / 0.6419 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.00498, allocations: 4 kB / 0.6419 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.004985, allocations: 3.938 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.004986, allocations: 4 kB / 0.6419 GB, free: 9.793 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004986, allocations: 0 / 0.6419 GB, free: 9.793 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.513e-05/0.005052, allocations: 151.5 kB / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.005057, allocations: 3.938 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.005069, allocations: 7.875 kB / 0.642 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.06e-05/0.005099, allocations: 4 kB / 0.642 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.005126, allocations: 7.984 kB / 0.642 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.005129, allocations: 4 kB / 0.642 GB, free: 9.602 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.171e-05/0.00514, allocations: 8.859 kB / 0.6421 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005141, allocations: 0 / 0.6421 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001322/0.005273, allocations: 12 kB / 0.6421 GB, free: 9.578 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 9e-05/0.005363, allocations: 92.39 kB / 0.6422 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.417e-05/0.005427, allocations: 36.77 kB / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.005428, allocations: 0 / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.005451, allocations: 12.86 kB / 0.6422 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.005575, allocations: 12.48 kB / 0.6422 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.005902, allocations: 152.8 kB / 0.6424 GB, free: 9.238 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.999e-05/0.005932, allocations: 55.36 kB / 0.6424 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.005952, allocations: 7.984 kB / 0.6424 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.005993, allocations: 55.38 kB / 0.6425 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of SimCode: time 3.41e-07/0.005993, allocations: 0 / 0.6425 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of Templates: time 0.002183/0.008176, allocations: 0.8779 MB / 0.6433 GB, free: 8.227 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.364017173182219]