Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.0007151/0.0007151, 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.0007377/0.0007377, 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.8633/0.8633, 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.03941/0.03941, allocations: 9.129 MB / 269.2 MB, free: 4.441 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.000376/0.000376, allocations: 27.91 kB / 328.7 MB, free: 5.773 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.506/1.506, allocations: 275 MB / 0.6476 GB, free: 2.805 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.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.9295 GB, free: 20.97 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.555e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.97 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001383/0.001409, allocations: 0.9403 MB / 0.9304 GB, free: 20.37 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.002641, allocations: 1.36 MB / 0.9317 GB, free: 19.39 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.002704, allocations: 9.312 kB / 0.9317 GB, free: 19.39 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.002811, allocations: 24.23 kB / 0.9317 GB, free: 19.37 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.002885, allocations: 45.84 kB / 0.9318 GB, free: 19.34 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.003421, allocations: 283 kB / 0.9321 GB, free: 19.19 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0003/0.003721, allocations: 389.6 kB / 0.9324 GB, free: 19 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.003853, allocations: 45.02 kB / 0.9325 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.004063, allocations: 214.7 kB / 0.9327 GB, free: 18.88 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.004212, allocations: 112.1 kB / 0.9328 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.00426, allocations: 34.66 kB / 0.9328 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 9.953e-05/0.00436, allocations: 45.5 kB / 0.9329 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 7.205e-05/0.004432, allocations: 62.55 kB / 0.9329 GB, free: 18.81 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 9.679e-05/0.004529, allocations: 108.1 kB / 0.933 GB, free: 18.75 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0003892/0.004918, allocations: 444.1 kB / 0.9335 GB, free: 18.58 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.004921, allocations: 0.7969 kB / 0.9335 GB, free: 18.58 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004922, allocations: 0 / 0.9335 GB, free: 18.58 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.004928, allocations: 0 / 0.9335 GB, free: 18.58 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006321/0.00556, allocations: 0.554 MB / 0.934 GB, free: 18.12 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.005598, allocations: 12.89 kB / 0.934 GB, free: 18.12 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.005843, allocations: 71.7 kB / 0.9341 GB, free: 18.1 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.006349, allocations: 305.4 kB / 0.9344 GB, free: 17.91 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.00637, allocations: 14.28 kB / 0.9344 GB, free: 17.91 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.006403, allocations: 25.56 kB / 0.9344 GB, free: 17.9 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.006672, allocations: 200.8 kB / 0.9346 GB, free: 17.79 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.006681, allocations: 0.9375 kB / 0.9346 GB, free: 17.79 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.006694, allocations: 7.953 kB / 0.9346 GB, free: 17.79 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.006701, allocations: 6.781 kB / 0.9346 GB, free: 17.78 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.006953, allocations: 143.2 kB / 0.9347 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.007537, allocations: 0.7913 MB / 0.9355 GB, free: 17.11 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.007705, allocations: 143.2 kB / 0.9357 GB, free: 16.97 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.007821, allocations: 75.91 kB / 0.9357 GB, free: 16.93 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.007836, allocations: 7.859 kB / 0.9357 GB, free: 16.92 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/0.008086, allocations: 170.9 kB / 0.9359 GB, free: 16.81 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.008088, allocations: 0 / 0.9359 GB, free: 16.81 MB / 0.7293 GB Notification: Performance of matching and sorting (n=11): time 0.000536/0.008624, allocations: 263.7 kB / 0.9361 GB, free: 16.72 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.008662, allocations: 157.4 kB / 0.9363 GB, free: 16.54 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.008845, allocations: 223 kB / 0.9365 GB, free: 16.39 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.008872, allocations: 35.88 kB / 0.9365 GB, free: 16.36 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.008948, allocations: 148.7 kB / 0.9367 GB, free: 16.23 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.008975, allocations: 41.84 kB / 0.9367 GB, free: 16.2 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.354e-05/0.009059, allocations: 56.7 kB / 0.9368 GB, free: 16.17 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.009113, allocations: 329.7 kB / 0.9371 GB, free: 15.85 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.009353, allocations: 164.7 kB / 0.9373 GB, free: 15.76 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.009574, allocations: 290.4 kB / 0.9375 GB, free: 15.51 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.009869, allocations: 275.6 kB / 0.9378 GB, free: 15.32 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.009872, allocations: 1.188 kB / 0.9378 GB, free: 15.32 MB / 0.7293 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004777/0.01035, allocations: 440.6 kB / 0.9382 GB, free: 15.07 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.01039, allocations: 71.77 kB / 0.9383 GB, free: 15 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01039, allocations: 10.77 kB / 0.9383 GB, free: 14.99 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.01041, allocations: 2.938 kB / 0.9383 GB, free: 14.99 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.0105, allocations: 26 kB / 0.9383 GB, free: 14.99 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.01052, allocations: 3.594 kB / 0.9383 GB, free: 14.99 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.01073, allocations: 75.23 kB / 0.9384 GB, free: 14.98 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.01075, allocations: 17.02 kB / 0.9384 GB, free: 14.98 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.993e-05/0.01084, allocations: 148.7 kB / 0.9386 GB, free: 14.85 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.01087, allocations: 22.73 kB / 0.9386 GB, free: 14.84 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.0109, allocations: 26.67 kB / 0.9386 GB, free: 14.82 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01091, allocations: 1.719 kB / 0.9386 GB, free: 14.82 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01091, allocations: 2.344 kB / 0.9386 GB, free: 14.82 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.01093, allocations: 23.52 kB / 0.9386 GB, free: 14.8 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.01095, allocations: 2.859 kB / 0.9386 GB, free: 14.8 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.01101, allocations: 20.48 kB / 0.9387 GB, free: 14.8 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.01107, allocations: 20.33 kB / 0.9387 GB, free: 14.79 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003611/0.01143, allocations: 0.5771 MB / 0.9392 GB, free: 14.34 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003135/0.01174, allocations: 0.6451 MB / 0.9399 GB, free: 13.8 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001387/0.01188, allocations: 73.33 kB / 0.9399 GB, free: 13.78 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 9.266e-05/0.01198, allocations: 163 kB / 0.9401 GB, free: 13.68 MB / 0.7293 GB Notification: Performance of Backend: time 4.21e-07/0.01198, allocations: 0 / 0.9401 GB, free: 13.68 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0007465/0.01272, allocations: 396.1 kB / 0.9405 GB, free: 13.38 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0006069/0.01333, allocations: 0.8204 MB / 0.9413 GB, free: 12.66 MB / 0.7293 GB Notification: Performance of Templates: time 0.006186/0.01952, allocations: 3.672 MB / 0.9449 GB, free: 12.29 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.714613575488329] Failed to read output from testmodel.py, exit status != 0: 0.02470078133046627 0.033297609 0.026467658 Calling exit ...