Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.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.0007525/0.0007525, allocations: 79.69 kB / 20.03 MB, free: 4.492 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.0007692/0.0007692, allocations: 165.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.8566/0.8566, allocations: 177.1 MB / 203.7 MB, free: 5.711 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.03488/0.03488, allocations: 9.117 MB / 269.2 MB, free: 4.438 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.0004373/0.0004373, allocations: 23.95 kB / 328.7 MB, free: 20.61 MB / 266.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.457/1.457, allocations: 275 MB / 0.6476 GB, free: 2.488 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 1.312 kB / 0.9295 GB, free: 7.953 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.749e-05, allocations: 5.375 kB / 0.9295 GB, free: 7.949 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001191/0.001209, allocations: 0.7939 MB / 0.9302 GB, free: 7.172 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.002352, allocations: 1.324 MB / 0.9315 GB, free: 5.836 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.002407, allocations: 0.5 kB / 0.9315 GB, free: 5.836 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.002439, allocations: 20.3 kB / 0.9316 GB, free: 5.816 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.002514, allocations: 21.61 kB / 0.9316 GB, free: 5.797 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.003076, allocations: 327.2 kB / 0.9319 GB, free: 5.492 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.003296, allocations: 295.5 kB / 0.9322 GB, free: 5.203 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.003392, allocations: 37.58 kB / 0.9322 GB, free: 5.164 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.003526, allocations: 155.8 kB / 0.9324 GB, free: 5.012 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.003651, allocations: 83.8 kB / 0.9324 GB, free: 4.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.003688, allocations: 24 kB / 0.9325 GB, free: 4.906 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.003757, allocations: 48.72 kB / 0.9325 GB, free: 4.859 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.003784, allocations: 27.86 kB / 0.9325 GB, free: 4.832 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.623e-05/0.00386, allocations: 83.86 kB / 0.9326 GB, free: 4.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.004105, allocations: 303.9 kB / 0.9329 GB, free: 4.453 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004107, allocations: 9.328 kB / 0.9329 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.113e-06/0.004108, allocations: 0 / 0.9329 GB, free: 4.445 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.004112, allocations: 0 / 0.9329 GB, free: 4.445 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004504/0.004562, allocations: 462.8 kB / 0.9334 GB, free: 3.945 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.004598, allocations: 14.55 kB / 0.9334 GB, free: 3.934 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.963e-05/0.004657, allocations: 32.84 kB / 0.9334 GB, free: 3.902 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.032e-05/0.004738, allocations: 122.2 kB / 0.9335 GB, free: 3.758 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.004761, allocations: 20.36 kB / 0.9335 GB, free: 3.738 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.00479, allocations: 16.38 kB / 0.9336 GB, free: 3.723 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.004918, allocations: 95.09 kB / 0.9336 GB, free: 3.625 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.004926, allocations: 0 / 0.9336 GB, free: 3.625 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.004935, allocations: 4.656 kB / 0.9336 GB, free: 3.621 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.00494, allocations: 4 kB / 0.9336 GB, free: 3.617 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.128e-05/0.005012, allocations: 48.81 kB / 0.9337 GB, free: 3.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.005441, allocations: 377.4 kB / 0.9341 GB, free: 3.172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.005621, allocations: 70.61 kB / 0.9341 GB, free: 3.094 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.005661, allocations: 32.81 kB / 0.9342 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.005671, allocations: 4.594 kB / 0.9342 GB, free: 3.055 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.005792, allocations: 110.6 kB / 0.9343 GB, free: 2.938 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.005793, allocations: 0 / 0.9343 GB, free: 2.938 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0002639/0.006057, allocations: 178.1 kB / 0.9344 GB, free: 2.758 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.006083, allocations: 59.41 kB / 0.9345 GB, free: 2.688 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.978e-05/0.006172, allocations: 159.1 kB / 0.9346 GB, free: 2.527 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.0062, allocations: 33.7 kB / 0.9347 GB, free: 2.488 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.006263, allocations: 116.5 kB / 0.9348 GB, free: 2.367 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.006282, allocations: 23.84 kB / 0.9348 GB, free: 2.344 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.006365, allocations: 77.66 kB / 0.9349 GB, free: 2.262 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.006447, allocations: 322.8 kB / 0.9352 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.006624, allocations: 186 kB / 0.9354 GB, free: 1.738 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.006815, allocations: 238.9 kB / 0.9356 GB, free: 1.465 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.007021, allocations: 254.4 kB / 0.9358 GB, free: 1.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.007024, allocations: 0 / 0.9358 GB, free: 1.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004428/0.007467, allocations: 0.4893 MB / 0.9363 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.007514, allocations: 93.09 kB / 0.9364 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.007523, allocations: 11.92 kB / 0.9364 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.007534, allocations: 0 / 0.9364 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-05/0.007577, allocations: 19.94 kB / 0.9364 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.007585, allocations: 0 / 0.9364 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.007829, allocations: 81.42 kB / 0.9365 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.007855, allocations: 28.17 kB / 0.9365 GB, free: 416 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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 8.132e-05/0.007937, allocations: 133.8 kB / 0.9367 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.00795, allocations: 15.91 kB / 0.9367 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.007975, allocations: 12.72 kB / 0.9367 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.007979, allocations: 0 / 0.9367 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.007979, allocations: 7.938 kB / 0.9367 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.007988, allocations: 7.953 kB / 0.9367 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.008002, allocations: 7.984 kB / 0.9367 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.008017, allocations: 0 / 0.9367 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.008053, allocations: 11.98 kB / 0.9367 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000164/0.008217, allocations: 209 kB / 0.9369 GB, free: 15.98 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001688/0.008386, allocations: 320 kB / 0.9372 GB, free: 15.66 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.645e-05/0.008432, allocations: 27.98 kB / 0.9373 GB, free: 15.63 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.008479, allocations: 109.9 kB / 0.9374 GB, free: 15.52 MB / 0.7137 GB Notification: Performance of Backend: time 1.71e-07/0.00848, allocations: 3.938 kB / 0.9374 GB, free: 15.52 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.009015, allocations: 485.5 kB / 0.9378 GB, free: 14.98 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0004654/0.009481, allocations: 0.6782 MB / 0.9385 GB, free: 14.26 MB / 0.7137 GB Notification: Performance of Templates: time 0.004067/0.01355, allocations: 3.217 MB / 0.9416 GB, free: 11.14 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.605426462367177] Failed to read output from testmodel.py, exit status != 0: 0.017609331756830215 0.025497514000000002 0.019769306 Calling exit ...