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/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.0007397/0.0007397, allocations: 75.69 kB / 20.03 MB, free: 4.496 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.0007676/0.0007676, allocations: 169.3 kB / 23.33 MB, free: 1.191 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 0.8392/0.8392, allocations: 177.1 MB / 203.6 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.03532/0.03532, allocations: 9.124 MB / 269.2 MB, free: 4.441 MB / 250.7 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/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003774/0.0003774, allocations: 31.89 kB / 328.7 MB, free: 5.789 MB / 298.7 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/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.489/1.489, allocations: 274.9 MB / 0.6476 GB, free: 2.848 MB / 0.4949 GB [/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 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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(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.773e-06/1.773e-06, allocations: 0 / 0.9294 GB, free: 20.98 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.929e-05, allocations: 2.281 kB / 0.9294 GB, free: 20.98 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001534/0.001554, allocations: 0.6515 MB / 0.9301 GB, free: 20.57 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.002792, allocations: 1.101 MB / 0.9312 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.16e-05/0.002843, allocations: 1.375 kB / 0.9312 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.00287, allocations: 4.734 kB / 0.9312 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.002956, allocations: 14.11 kB / 0.9312 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.003541, allocations: 49.5 kB / 0.9312 GB, free: 19.73 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 7.656e-05/0.003617, allocations: 49.22 kB / 0.9313 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.003695, allocations: 4.859 kB / 0.9313 GB, free: 19.7 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 7.189e-05/0.003766, allocations: 27.94 kB / 0.9313 GB, free: 19.69 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.003807, allocations: 19.03 kB / 0.9313 GB, free: 19.68 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.003822, allocations: 5.594 kB / 0.9313 GB, free: 19.68 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-05/0.00388, allocations: 18.58 kB / 0.9313 GB, free: 19.68 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.003898, allocations: 11.55 kB / 0.9313 GB, free: 19.67 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.003926, allocations: 15.39 kB / 0.9314 GB, free: 19.66 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.00404, allocations: 67.23 kB / 0.9314 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004042, allocations: 1.531 kB / 0.9314 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004043, allocations: 4 kB / 0.9314 GB, free: 19.63 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.004046, allocations: 0 / 0.9314 GB, free: 19.63 MB / 0.7293 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.0003349/0.004381, allocations: 290.9 kB / 0.9317 GB, free: 19.35 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.004417, allocations: 13.17 kB / 0.9317 GB, free: 19.34 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.004478, allocations: 6 kB / 0.9317 GB, free: 19.34 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.949e-05/0.004538, allocations: 109.1 kB / 0.9318 GB, free: 19.21 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.004547, allocations: 6.719 kB / 0.9318 GB, free: 19.21 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.00456, allocations: 3.125 kB / 0.9318 GB, free: 19.21 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.004694, allocations: 74.36 kB / 0.9319 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004702, allocations: 192 / 0.9319 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.004711, allocations: 1.531 kB / 0.9319 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.004715, allocations: 1.312 kB / 0.9319 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.962e-05/0.004815, allocations: 50.39 kB / 0.932 GB, free: 19.14 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.005116, allocations: 214.6 kB / 0.9322 GB, free: 18.94 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 9.929e-05/0.005215, allocations: 54.06 kB / 0.9322 GB, free: 18.9 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.005266, allocations: 30.52 kB / 0.9322 GB, free: 18.89 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.005285, allocations: 5.922 kB / 0.9323 GB, free: 18.88 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.00539, allocations: 72.02 kB / 0.9323 GB, free: 18.83 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.005391, allocations: 0 / 0.9323 GB, free: 18.83 MB / 0.7293 GB Notification: Performance of matching and sorting (n=6): time 0.000253/0.005644, allocations: 124.8 kB / 0.9324 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.7e-05/0.005661, allocations: 53.61 kB / 0.9325 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.747e-05/0.005709, allocations: 111.1 kB / 0.9326 GB, free: 18.6 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.005716, allocations: 26.86 kB / 0.9326 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.005738, allocations: 90.56 kB / 0.9327 GB, free: 18.48 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.005753, allocations: 16.22 kB / 0.9327 GB, free: 18.47 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.00578, allocations: 26.47 kB / 0.9328 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.005815, allocations: 319 kB / 0.9331 GB, free: 18.13 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.201e-05/0.005867, allocations: 24.36 kB / 0.9331 GB, free: 18.12 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/0.005928, allocations: 57.48 kB / 0.9331 GB, free: 18.08 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.006037, allocations: 88.28 kB / 0.9332 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.006038, allocations: 1.062 kB / 0.9332 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001408/0.006179, allocations: 118.3 kB / 0.9333 GB, free: 17.96 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.006191, allocations: 10.95 kB / 0.9333 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.006196, allocations: 1.344 kB / 0.9333 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.006208, allocations: 1.281 kB / 0.9333 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.006276, allocations: 19.73 kB / 0.9334 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.006283, allocations: 2.109 kB / 0.9334 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/0.006317, allocations: 8.172 kB / 0.9334 GB, free: 17.95 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.006325, allocations: 7.172 kB / 0.9334 GB, free: 17.95 MB / 0.7293 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 3.963e-05/0.006364, allocations: 122.6 kB / 0.9335 GB, free: 17.82 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-06/0.006371, allocations: 10.73 kB / 0.9335 GB, free: 17.82 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.006526, allocations: 108.4 kB / 0.9336 GB, free: 17.76 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.006529, allocations: 0.8906 kB / 0.9336 GB, free: 17.76 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.00653, allocations: 0 / 0.9336 GB, free: 17.76 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-06/0.006537, allocations: 6.484 kB / 0.9336 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.006551, allocations: 1.969 kB / 0.9336 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.315e-05/0.006574, allocations: 14.41 kB / 0.9336 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.006611, allocations: 3.969 kB / 0.9336 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001545/0.006766, allocations: 183.6 kB / 0.9338 GB, free: 17.62 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000139/0.006905, allocations: 267.3 kB / 0.9341 GB, free: 17.39 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.707e-05/0.006962, allocations: 32.67 kB / 0.9341 GB, free: 17.38 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.796e-05/0.00698, allocations: 83.98 kB / 0.9342 GB, free: 17.31 MB / 0.7293 GB Notification: Performance of Backend: time 1.1e-07/0.00698, allocations: 0 / 0.9342 GB, free: 17.31 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.007268, allocations: 124 kB / 0.9343 GB, free: 17.23 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002763/0.007544, allocations: 0.5852 MB / 0.9349 GB, free: 16.63 MB / 0.7293 GB Notification: Performance of Templates: time 0.002434/0.009978, allocations: 1.009 MB / 0.9359 GB, free: 16.54 MB / 0.7293 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6215585470199585] Failed to read output from testmodel.py, exit status != 0: 0.014701077714562416 0.021603464000000003 0.015980402 Calling exit ...