Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.0008426/0.0008426, 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.0007626/0.0007626, 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.8507/0.8507, allocations: 177.1 MB / 203.7 MB, free: 5.699 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.03457/0.03457, allocations: 9.116 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.0003862/0.0003862, allocations: 23.97 kB / 328.7 MB, free: 5.785 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.474/1.474, allocations: 274.9 MB / 0.6476 GB, free: 2.844 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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.9295 GB, free: 20.92 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.562e-05, allocations: 3.047 kB / 0.9295 GB, free: 20.92 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001147/0.001163, allocations: 0.8099 MB / 0.9303 GB, free: 20.41 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.002373, allocations: 1.475 MB / 0.9317 GB, free: 19.38 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.002434, allocations: 6.781 kB / 0.9317 GB, free: 19.37 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.002776, allocations: 206.2 kB / 0.9319 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 9.36e-05/0.00287, allocations: 110.5 kB / 0.932 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.003454, allocations: 369.2 kB / 0.9324 GB, free: 19.1 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0006033/0.004058, allocations: 0.8785 MB / 0.9332 GB, free: 18.74 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.004171, allocations: 65.28 kB / 0.9333 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/0.004535, allocations: 450.8 kB / 0.9337 GB, free: 18.54 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.004853, allocations: 265.7 kB / 0.934 GB, free: 18.47 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.004969, allocations: 45.66 kB / 0.934 GB, free: 18.47 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.005172, allocations: 120.4 kB / 0.9341 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.005467, allocations: 375.7 kB / 0.9345 GB, free: 18.31 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.005686, allocations: 205 kB / 0.9347 GB, free: 18.21 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0007905/0.006477, allocations: 1.012 MB / 0.9357 GB, free: 17.89 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.006478, allocations: 0 / 0.9357 GB, free: 17.89 MB / 0.7293 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006479, allocations: 1.625 kB / 0.9357 GB, free: 17.89 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.006489, allocations: 0 / 0.9357 GB, free: 17.89 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009959/0.007485, allocations: 0.8248 MB / 0.9365 GB, free: 17.36 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.007516, allocations: 13.3 kB / 0.9365 GB, free: 17.35 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.007659, allocations: 54.41 kB / 0.9365 GB, free: 17.33 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.008144, allocations: 0.4913 MB / 0.937 GB, free: 17.05 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.00816, allocations: 25.39 kB / 0.9371 GB, free: 17.04 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.959e-05/0.00823, allocations: 36.7 kB / 0.9371 GB, free: 17.04 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.008533, allocations: 304.2 kB / 0.9374 GB, free: 16.91 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.008542, allocations: 192 / 0.9374 GB, free: 16.91 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.008559, allocations: 8.312 kB / 0.9374 GB, free: 16.9 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.008564, allocations: 2.312 kB / 0.9374 GB, free: 16.9 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.008786, allocations: 229.9 kB / 0.9376 GB, free: 16.82 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.009827, allocations: 0.9976 MB / 0.9386 GB, free: 16.25 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.01023, allocations: 465.1 kB / 0.939 GB, free: 16.04 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.01038, allocations: 173.8 kB / 0.9392 GB, free: 15.96 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.0104, allocations: 2.953 kB / 0.9392 GB, free: 15.96 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.0107, allocations: 339.3 kB / 0.9395 GB, free: 15.83 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=24): time 1.253e-06/0.0107, allocations: 0 / 0.9395 GB, free: 15.83 MB / 0.7293 GB Notification: Performance of matching and sorting (n=24): time 0.0006861/0.01139, allocations: 0.6242 MB / 0.9401 GB, free: 15.61 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.01141, allocations: 116.1 kB / 0.9402 GB, free: 15.48 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.01188, allocations: 0.5964 MB / 0.9408 GB, free: 15.25 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 5.989e-05/0.01194, allocations: 48.45 kB / 0.9409 GB, free: 15.2 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.01206, allocations: 213.1 kB / 0.9411 GB, free: 15.03 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.01209, allocations: 56.17 kB / 0.9411 GB, free: 14.99 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.01226, allocations: 188.2 kB / 0.9413 GB, free: 14.93 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.01232, allocations: 364.6 kB / 0.9417 GB, free: 14.59 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.01244, allocations: 127.1 kB / 0.9418 GB, free: 14.56 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/0.01302, allocations: 1.774 MB / 0.9435 GB, free: 12.7 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.01324, allocations: 302.4 kB / 0.9438 GB, free: 12.49 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01324, allocations: 1.562 kB / 0.9438 GB, free: 12.49 MB / 0.7293 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000436/0.01368, allocations: 427.1 kB / 0.9442 GB, free: 12.32 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.01369, allocations: 6.156 kB / 0.9442 GB, free: 12.32 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.0137, allocations: 4.969 kB / 0.9442 GB, free: 12.32 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.01371, allocations: 8.469 kB / 0.9442 GB, free: 12.32 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/0.0138, allocations: 31.19 kB / 0.9443 GB, free: 12.31 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.01381, allocations: 5.625 kB / 0.9443 GB, free: 12.31 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006183/0.01443, allocations: 137 kB / 0.9444 GB, free: 12.27 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.01445, allocations: 15.81 kB / 0.9444 GB, free: 12.27 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001901/0.01464, allocations: 257 kB / 0.9446 GB, free: 12.11 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.01468, allocations: 48.16 kB / 0.9447 GB, free: 12.08 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.01473, allocations: 51.3 kB / 0.9447 GB, free: 12.05 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.01473, allocations: 2.328 kB / 0.9447 GB, free: 12.05 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01474, allocations: 1.969 kB / 0.9447 GB, free: 12.05 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.01478, allocations: 49.06 kB / 0.9448 GB, free: 12.03 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.01481, allocations: 8.5 kB / 0.9448 GB, free: 12.02 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.01489, allocations: 20.61 kB / 0.9448 GB, free: 12.02 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.01495, allocations: 32.22 kB / 0.9449 GB, free: 12.01 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000411/0.01536, allocations: 0.6794 MB / 0.9455 GB, free: 11.62 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004456/0.0158, allocations: 0.8015 MB / 0.9463 GB, free: 11.12 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001421/0.01595, allocations: 157.4 kB / 0.9464 GB, free: 11.07 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.0003306/0.01628, allocations: 442.2 kB / 0.9469 GB, free: 10.89 MB / 0.7293 GB Notification: Performance of Backend: time 1.51e-07/0.01628, allocations: 0 / 0.9469 GB, free: 10.89 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0006149/0.01689, allocations: 314.5 kB / 0.9472 GB, free: 10.75 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0007422/0.01763, allocations: 1.118 MB / 0.9483 GB, free: 9.93 MB / 0.7293 GB Notification: Performance of Templates: time 0.01075/0.02838, allocations: 8.925 MB / 0.957 GB, free: 8.832 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.905908092856407] Failed to read output from testmodel.py, exit status != 0: 0.03261654544621706 0.040122209000000006 0.032118361000000005 Calling exit ...