Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Stage.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.0007366/0.0007366, 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.0007637/0.0007637, allocations: 165.7 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.8509/0.8509, allocations: 177.1 MB / 203.6 MB, free: 5.715 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.0345/0.0345, allocations: 9.13 MB / 269.2 MB, free: 4.434 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.0003727/0.0003727, allocations: 23.06 kB / 328.7 MB, free: 20.59 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.454/1.454, allocations: 275 MB / 0.6476 GB, free: 2.496 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.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Stage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9295 GB, free: 8.125 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.938e-05, allocations: 4.953 kB / 0.9295 GB, free: 8.121 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Stage): time 0.001236/0.001255, allocations: 0.8642 MB / 0.9303 GB, free: 7.273 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.002315, allocations: 1.084 MB / 0.9314 GB, free: 6.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.002385, allocations: 0 / 0.9314 GB, free: 6.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.002503, allocations: 15.75 kB / 0.9314 GB, free: 6.164 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.002617, allocations: 48.78 kB / 0.9314 GB, free: 6.117 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.00293, allocations: 139.7 kB / 0.9316 GB, free: 5.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.003143, allocations: 355.8 kB / 0.9319 GB, free: 5.633 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.003239, allocations: 26.78 kB / 0.9319 GB, free: 5.609 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.003474, allocations: 219.6 kB / 0.9321 GB, free: 5.395 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.003651, allocations: 190.5 kB / 0.9323 GB, free: 5.211 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.003695, allocations: 32 kB / 0.9324 GB, free: 5.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.732e-05/0.003762, allocations: 47.92 kB / 0.9324 GB, free: 5.133 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.003849, allocations: 104.2 kB / 0.9325 GB, free: 5.031 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.999e-05/0.003929, allocations: 99.77 kB / 0.9326 GB, free: 4.934 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.004199, allocations: 387.5 kB / 0.933 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004201, allocations: 0.5 kB / 0.933 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.172e-06/0.004202, allocations: 0 / 0.933 GB, free: 4.555 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.004206, allocations: 0.8125 kB / 0.933 GB, free: 4.555 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001121/0.005327, allocations: 0.7065 MB / 0.9337 GB, free: 3.828 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.005367, allocations: 11.98 kB / 0.9337 GB, free: 3.816 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.005511, allocations: 44.72 kB / 0.9337 GB, free: 3.773 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.005932, allocations: 277.2 kB / 0.934 GB, free: 3.477 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.005957, allocations: 14.97 kB / 0.934 GB, free: 3.465 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.005992, allocations: 28.36 kB / 0.934 GB, free: 3.438 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.006454, allocations: 345.7 kB / 0.9344 GB, free: 3.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.006463, allocations: 0 / 0.9344 GB, free: 3.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.006484, allocations: 8 kB / 0.9344 GB, free: 3.082 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.00649, allocations: 4 kB / 0.9344 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003613/0.006851, allocations: 211.8 kB / 0.9346 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/0.007689, allocations: 0.5861 MB / 0.9351 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.008066, allocations: 253 kB / 0.9354 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.008334, allocations: 169.6 kB / 0.9355 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.008354, allocations: 7.938 kB / 0.9355 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004152/0.008769, allocations: 348.7 kB / 0.9359 GB, free: 1.445 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.008771, allocations: 0 / 0.9359 GB, free: 1.445 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.001228/0.009999, allocations: 0.6282 MB / 0.9365 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.01003, allocations: 93.11 kB / 0.9366 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.01016, allocations: 208 kB / 0.9368 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.01019, allocations: 57.69 kB / 0.9368 GB, free: 440 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.01025, allocations: 125.1 kB / 0.937 GB, free: 312 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.0103, allocations: 87.39 kB / 0.937 GB, free: 224 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.01038, allocations: 86.12 kB / 0.9371 GB, free: 132 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.01046, allocations: 342.8 kB / 0.9374 GB, free: 15.79 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.01061, allocations: 113 kB / 0.9376 GB, free: 15.67 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.01077, allocations: 170.1 kB / 0.9377 GB, free: 15.49 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.01099, allocations: 205.2 kB / 0.9379 GB, free: 15.28 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01099, allocations: 0 / 0.9379 GB, free: 15.28 MB / 0.7137 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003441/0.01134, allocations: 340.1 kB / 0.9382 GB, free: 14.94 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.01135, allocations: 8.125 kB / 0.9382 GB, free: 14.93 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01135, allocations: 0 / 0.9382 GB, free: 14.93 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.01137, allocations: 4 kB / 0.9382 GB, free: 14.93 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.01147, allocations: 47.84 kB / 0.9383 GB, free: 14.88 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.01148, allocations: 7.984 kB / 0.9383 GB, free: 14.88 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.01166, allocations: 75.7 kB / 0.9384 GB, free: 14.8 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.01167, allocations: 16 kB / 0.9384 GB, free: 14.79 MB / 0.7137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (zerHolTim.y,$PRE.zerHolTim.y,sta.y,$PRE.sta.y,zerHolTim.checkLower,$PRE.zerHolTim.checkLower,zerHolTim.checkUpper,$PRE.zerHolTim.checkUpper,zerHolTim.lowerThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.upperThreshold,zerHolTim.tNext,$PRE.zerHolTim.tNext,sta.checkLower,$PRE.sta.checkLower,sta.checkUpper,$PRE.sta.checkUpper,sta.lowerThreshold,$PRE.sta.lowerThreshold,sta.upperThreshold,$PRE.sta.upperThreshold,sta.tNext,$PRE.sta.tNext,$whenCondition3,$whenCondition4,lesHolTim.y,$PRE.lesHolTim.y,sta1.y,$PRE.sta1.y,lesHolTim.checkLower,$PRE.lesHolTim.checkLower,lesHolTim.checkUpper,$PRE.lesHolTim.checkUpper,lesHolTim.lowerThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.upperThreshold,lesHolTim.tNext,$PRE.lesHolTim.tNext,sta1.checkLower,$PRE.sta1.checkLower,sta1.checkUpper,$PRE.sta1.checkUpper,sta1.lowerThreshold,$PRE.sta1.lowerThreshold,sta1.upperThreshold,$PRE.sta1.upperThreshold,sta1.tNext,$PRE.sta1.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001075/0.01178, allocations: 171 kB / 0.9386 GB, free: 14.61 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.01181, allocations: 27.84 kB / 0.9386 GB, free: 14.58 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.01185, allocations: 29.47 kB / 0.9386 GB, free: 14.55 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01185, allocations: 3.984 kB / 0.9386 GB, free: 14.55 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01185, allocations: 0 / 0.9386 GB, free: 14.55 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.01187, allocations: 31.67 kB / 0.9386 GB, free: 14.52 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.01192, allocations: 16 kB / 0.9387 GB, free: 14.5 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.01212, allocations: 71.89 kB / 0.9387 GB, free: 14.43 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.01222, allocations: 79.8 kB / 0.9388 GB, free: 14.35 MB / 0.7137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006812/0.01291, allocations: 0.6301 MB / 0.9394 GB, free: 13.71 MB / 0.7137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007145/0.01362, allocations: 0.73 MB / 0.9401 GB, free: 12.97 MB / 0.7137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002877/0.01391, allocations: 183.8 kB / 0.9403 GB, free: 12.79 MB / 0.7137 GB Notification: Performance of sorting global known variables: time 7.173e-05/0.01398, allocations: 144.6 kB / 0.9404 GB, free: 12.65 MB / 0.7137 GB Notification: Performance of Backend: time 4.11e-07/0.01398, allocations: 0 / 0.9404 GB, free: 12.65 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.0005147/0.01449, allocations: 247.8 kB / 0.9407 GB, free: 12.4 MB / 0.7137 GB Notification: Performance of SimCode: time 0.0006256/0.01512, allocations: 0.8415 MB / 0.9415 GB, free: 11.51 MB / 0.7137 GB Notification: Performance of Templates: time 0.006725/0.02184, allocations: 6.115 MB / 0.9475 GB, free: 5.52 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.597898174077272] Failed to read output from testmodel.py, exit status != 0: 0.026650313287973404 0.03538844 0.029499318000000004 Calling exit ...