Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.0007277/0.0007277, 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.0007611/0.0007611, 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.8583/0.8583, allocations: 177.1 MB / 203.7 MB, free: 5.73 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.03396/0.03396, allocations: 9.126 MB / 269.2 MB, free: 4.453 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.0003887/0.0003887, allocations: 26.91 kB / 328.7 MB, free: 5.797 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.466/1.466, allocations: 275 MB / 0.6476 GB, free: 2.855 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.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.9295 GB, free: 20.89 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.811e-05, allocations: 8.359 kB / 0.9295 GB, free: 20.88 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.002215/0.002233, allocations: 2.368 MB / 0.9318 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.003907, allocations: 1.662 MB / 0.9334 GB, free: 18.16 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.004035, allocations: 13.03 kB / 0.9335 GB, free: 18.16 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 0.0004778/0.004512, allocations: 337.5 kB / 0.9338 GB, free: 18.06 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.004996, allocations: 417 kB / 0.9342 GB, free: 17.86 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.005292, allocations: 291.5 kB / 0.9345 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.005796, allocations: 0.792 MB / 0.9352 GB, free: 17.32 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.005928, allocations: 46.81 kB / 0.9353 GB, free: 17.3 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.006252, allocations: 426.9 kB / 0.9357 GB, free: 17.11 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.006525, allocations: 316.8 kB / 0.936 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.006573, allocations: 33.88 kB / 0.936 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.006712, allocations: 93.58 kB / 0.9361 GB, free: 17 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.006856, allocations: 212.5 kB / 0.9363 GB, free: 16.91 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.006965, allocations: 148.5 kB / 0.9364 GB, free: 16.83 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.007544, allocations: 0.7704 MB / 0.9372 GB, free: 16.55 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.007546, allocations: 0 / 0.9372 GB, free: 16.55 MB / 0.7293 GB Notification: Performance of FrontEnd: time 8.61e-07/0.007547, allocations: 5.312 kB / 0.9372 GB, free: 16.55 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.007554, allocations: 0 / 0.9372 GB, free: 16.55 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008712/0.008425, allocations: 0.976 MB / 0.9382 GB, free: 15.83 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.008459, allocations: 12.17 kB / 0.9382 GB, free: 15.82 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.081e-05/0.00854, allocations: 85.69 kB / 0.9382 GB, free: 15.78 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/0.009111, allocations: 0.5779 MB / 0.9388 GB, free: 15.42 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.009126, allocations: 15.23 kB / 0.9388 GB, free: 15.41 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.00915, allocations: 14.22 kB / 0.9388 GB, free: 15.41 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.009407, allocations: 219.3 kB / 0.939 GB, free: 15.28 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.009416, allocations: 0 / 0.939 GB, free: 15.28 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.009431, allocations: 3.812 kB / 0.9391 GB, free: 15.28 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.009437, allocations: 2.969 kB / 0.9391 GB, free: 15.28 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.009596, allocations: 119 kB / 0.9392 GB, free: 15.24 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007495/0.01035, allocations: 0.9672 MB / 0.9401 GB, free: 14.54 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.01069, allocations: 275.9 kB / 0.9404 GB, free: 14.36 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.01082, allocations: 115 kB / 0.9405 GB, free: 14.29 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.01084, allocations: 3.984 kB / 0.9405 GB, free: 14.29 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.01109, allocations: 230.2 kB / 0.9407 GB, free: 14.15 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/0.01109, allocations: 0 / 0.9407 GB, free: 14.15 MB / 0.7293 GB Notification: Performance of matching and sorting (n=25): time 0.0005997/0.01169, allocations: 455.9 kB / 0.9411 GB, free: 13.97 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.01172, allocations: 163.3 kB / 0.9413 GB, free: 13.78 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.01262, allocations: 1.079 MB / 0.9424 GB, free: 13.39 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.01264, allocations: 38.41 kB / 0.9424 GB, free: 13.35 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.01279, allocations: 311.6 kB / 0.9427 GB, free: 13.1 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.01284, allocations: 76.41 kB / 0.9428 GB, free: 13.05 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.886e-05/0.01294, allocations: 109.2 kB / 0.9429 GB, free: 12.99 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.591e-05/0.01297, allocations: 329.7 kB / 0.9432 GB, free: 12.68 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.01317, allocations: 171.8 kB / 0.9433 GB, free: 12.62 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.01341, allocations: 269 kB / 0.9436 GB, free: 12.46 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.01378, allocations: 378.7 kB / 0.944 GB, free: 12.25 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01378, allocations: 1.406 kB / 0.944 GB, free: 12.25 MB / 0.7293 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006158/0.0144, allocations: 0.5911 MB / 0.9445 GB, free: 12 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01442, allocations: 9.562 kB / 0.9445 GB, free: 12 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01442, allocations: 2.719 kB / 0.9446 GB, free: 12 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.01444, allocations: 5.375 kB / 0.9446 GB, free: 12 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.01465, allocations: 95.19 kB / 0.9446 GB, free: 11.99 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.01466, allocations: 13.75 kB / 0.9447 GB, free: 11.98 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.0148, allocations: 38 kB / 0.9447 GB, free: 11.96 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.01483, allocations: 28.11 kB / 0.9447 GB, free: 11.96 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0001895/0.01502, allocations: 278.7 kB / 0.945 GB, free: 11.78 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.01509, allocations: 84.42 kB / 0.9451 GB, free: 11.73 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.0156, allocations: 414.5 kB / 0.9455 GB, free: 11.56 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-06/0.0156, allocations: 4 kB / 0.9455 GB, free: 11.56 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01561, allocations: 0.875 kB / 0.9455 GB, free: 11.56 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-05/0.01569, allocations: 93.86 kB / 0.9456 GB, free: 11.51 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.01575, allocations: 14.12 kB / 0.9456 GB, free: 11.5 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.01584, allocations: 26.84 kB / 0.9456 GB, free: 11.49 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.0159, allocations: 24.11 kB / 0.9456 GB, free: 11.48 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004179/0.01631, allocations: 0.7119 MB / 0.9463 GB, free: 10.97 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004781/0.01679, allocations: 0.8568 MB / 0.9472 GB, free: 10.33 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000146/0.01694, allocations: 108.7 kB / 0.9473 GB, free: 10.29 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.0006211/0.01756, allocations: 0.6805 MB / 0.9479 GB, free: 10.04 MB / 0.7293 GB Notification: Performance of Backend: time 5.51e-07/0.01756, allocations: 5.469 kB / 0.9479 GB, free: 10.04 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.01921, allocations: 0.8364 MB / 0.9487 GB, free: 9.777 MB / 0.7293 GB Notification: Performance of SimCode: time 0.001403/0.02061, allocations: 1.701 MB / 0.9504 GB, free: 8.711 MB / 0.7293 GB Notification: Performance of Templates: time 0.01207/0.03268, allocations: 9.008 MB / 0.9592 GB, free: 7.578 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.894291369244456] Failed to read output from testmodel.py, exit status != 0: 0.03706422820687294 0.043920309000000005 0.034843104 Calling exit ...