Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.0007384/0.0007384, 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.0008036/0.0008036, 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.882/0.882, 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.03602/0.03602, allocations: 9.134 MB / 269.2 MB, free: 4.449 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.0004196/0.0004196, allocations: 27.12 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.526/1.526, allocations: 274.9 MB / 0.6476 GB, free: 2.871 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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.9295 GB, free: 20.97 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.617e-05, allocations: 5.094 kB / 0.9295 GB, free: 20.96 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001558/0.001584, allocations: 1.243 MB / 0.9307 GB, free: 20.16 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.002974, allocations: 1.59 MB / 0.9322 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.003063, allocations: 3.969 kB / 0.9322 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.003191, allocations: 37.36 kB / 0.9323 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 9.357e-05/0.003285, allocations: 79.25 kB / 0.9323 GB, free: 18.92 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.004007, allocations: 0.4976 MB / 0.9328 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.00045/0.004457, allocations: 0.6551 MB / 0.9335 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.004681, allocations: 121.5 kB / 0.9336 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.004985, allocations: 363.9 kB / 0.9339 GB, free: 18.09 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.005235, allocations: 192.8 kB / 0.9341 GB, free: 18.03 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 7.781e-05/0.005313, allocations: 64.06 kB / 0.9342 GB, free: 18.03 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.005425, allocations: 81.56 kB / 0.9343 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.005496, allocations: 85.84 kB / 0.9343 GB, free: 17.97 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.005648, allocations: 190.1 kB / 0.9345 GB, free: 17.87 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.006234, allocations: 0.7632 MB / 0.9353 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.006237, allocations: 0 / 0.9353 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.373e-06/0.006238, allocations: 1 kB / 0.9353 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.006244, allocations: 0 / 0.9353 GB, free: 17.57 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008202/0.007065, allocations: 0.8758 MB / 0.9361 GB, free: 16.82 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.007105, allocations: 11.61 kB / 0.9361 GB, free: 16.82 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.999e-05/0.007195, allocations: 51.22 kB / 0.9362 GB, free: 16.8 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.007913, allocations: 403.3 kB / 0.9366 GB, free: 16.57 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.007941, allocations: 27.88 kB / 0.9366 GB, free: 16.56 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.007995, allocations: 36.73 kB / 0.9366 GB, free: 16.56 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.008419, allocations: 458 kB / 0.9371 GB, free: 16.29 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.008429, allocations: 4.781 kB / 0.9371 GB, free: 16.29 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.008448, allocations: 16.83 kB / 0.9371 GB, free: 16.27 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.008455, allocations: 9.281 kB / 0.9371 GB, free: 16.27 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.008825, allocations: 388.2 kB / 0.9375 GB, free: 16.05 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000941/0.009766, allocations: 0.7267 MB / 0.9382 GB, free: 15.65 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.01019, allocations: 489.7 kB / 0.9386 GB, free: 15.38 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.01049, allocations: 390 kB / 0.939 GB, free: 15.15 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.01051, allocations: 6.344 kB / 0.939 GB, free: 15.15 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003665/0.01088, allocations: 460.9 kB / 0.9395 GB, free: 14.88 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=44): time 2.384e-06/0.01088, allocations: 0 / 0.9395 GB, free: 14.88 MB / 0.7293 GB Notification: Performance of matching and sorting (n=44): time 0.0009642/0.01185, allocations: 1.107 MB / 0.9405 GB, free: 14.19 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.01188, allocations: 197.1 kB / 0.9407 GB, free: 13.96 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.01207, allocations: 274.7 kB / 0.941 GB, free: 13.8 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.01211, allocations: 44.86 kB / 0.941 GB, free: 13.76 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.0122, allocations: 161.8 kB / 0.9412 GB, free: 13.63 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.01226, allocations: 135.7 kB / 0.9413 GB, free: 13.52 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.0124, allocations: 140.5 kB / 0.9415 GB, free: 13.47 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/0.01245, allocations: 351.7 kB / 0.9418 GB, free: 13.14 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.01287, allocations: 0.5296 MB / 0.9423 GB, free: 12.76 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.01329, allocations: 0.6074 MB / 0.9429 GB, free: 12.29 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/0.01394, allocations: 0.9117 MB / 0.9438 GB, free: 11.61 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.01394, allocations: 1.969 kB / 0.9438 GB, free: 11.61 MB / 0.7293 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001004/0.01495, allocations: 1.263 MB / 0.945 GB, free: 10.77 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 7.02e-05/0.01502, allocations: 258.2 kB / 0.9453 GB, free: 10.48 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01503, allocations: 6.188 kB / 0.9453 GB, free: 10.48 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.01504, allocations: 9.406 kB / 0.9453 GB, free: 10.48 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.01521, allocations: 67.02 kB / 0.9453 GB, free: 10.47 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.01523, allocations: 4.109 kB / 0.9454 GB, free: 10.47 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.01561, allocations: 139.3 kB / 0.9455 GB, free: 10.45 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.132e-05/0.01571, allocations: 73.23 kB / 0.9456 GB, free: 10.43 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0001592/0.01586, allocations: 311.5 kB / 0.9459 GB, free: 10.13 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.0159, allocations: 41.81 kB / 0.9459 GB, free: 10.11 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.01596, allocations: 50.84 kB / 0.9459 GB, free: 10.07 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.01596, allocations: 2.25 kB / 0.9459 GB, free: 10.07 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01596, allocations: 5.125 kB / 0.9459 GB, free: 10.07 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.01599, allocations: 35.41 kB / 0.946 GB, free: 10.04 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.01602, allocations: 9.531 kB / 0.946 GB, free: 10.04 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.164e-05/0.01611, allocations: 24.39 kB / 0.946 GB, free: 10.04 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.0162, allocations: 36.72 kB / 0.946 GB, free: 10.03 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007552/0.01696, allocations: 1.133 MB / 0.9472 GB, free: 9.152 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006791/0.01763, allocations: 0.9743 MB / 0.9481 GB, free: 8.48 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002865/0.01792, allocations: 359.2 kB / 0.9484 GB, free: 8.262 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.0001304/0.01805, allocations: 196.2 kB / 0.9486 GB, free: 8.148 MB / 0.7293 GB Notification: Performance of Backend: time 3.3e-07/0.01805, allocations: 0 / 0.9486 GB, free: 8.148 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0009628/0.01901, allocations: 1.188 MB / 0.9498 GB, free: 7.102 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0008307/0.01985, allocations: 1.263 MB / 0.951 GB, free: 5.984 MB / 0.7293 GB Notification: Performance of Templates: time 0.01006/0.0299, allocations: 7.596 MB / 0.9584 GB, free: 5.168 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.859206982888281] Failed to read output from testmodel.py, exit status != 0: 0.034540425054728985 0.043140383000000004 0.034897847 Calling exit ...