Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.0007135/0.0007135, allocations: 79.69 kB / 20.03 MB, free: 4.496 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.0007303/0.0007303, allocations: 165.3 kB / 23.33 MB, free: 1.195 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.8471/0.8471, allocations: 177.1 MB / 203.7 MB, free: 5.707 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.03678/0.03678, 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.0003731/0.0003731, allocations: 19.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.527/1.527, allocations: 274.9 MB / 0.6476 GB, free: 2.883 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.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 0.9295 GB, free: 20.91 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.833e-05, allocations: 3.781 kB / 0.9295 GB, free: 20.9 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001575/0.001603, allocations: 1.074 MB / 0.9305 GB, free: 20.23 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.003366, allocations: 2.232 MB / 0.9327 GB, free: 18.63 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.003446, allocations: 6.281 kB / 0.9327 GB, free: 18.63 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.003481, allocations: 21.28 kB / 0.9327 GB, free: 18.61 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.003623, allocations: 95.28 kB / 0.9328 GB, free: 18.54 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.005341, allocations: 1.4 MB / 0.9342 GB, free: 17.85 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0008294/0.006171, allocations: 1.208 MB / 0.9354 GB, free: 17.32 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.00622, allocations: 21.58 kB / 0.9354 GB, free: 17.31 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.006717, allocations: 0.6484 MB / 0.936 GB, free: 17.04 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.007121, allocations: 363.7 kB / 0.9364 GB, free: 16.93 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.007252, allocations: 104.9 kB / 0.9365 GB, free: 16.93 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.007412, allocations: 121.9 kB / 0.9366 GB, free: 16.93 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.007458, allocations: 60.3 kB / 0.9367 GB, free: 16.9 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.007737, allocations: 352.1 kB / 0.937 GB, free: 16.75 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0009092/0.008646, allocations: 1.193 MB / 0.9382 GB, free: 16.3 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.008648, allocations: 0 / 0.9382 GB, free: 16.3 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.022e-06/0.008649, allocations: 4 kB / 0.9382 GB, free: 16.3 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.008654, allocations: 1.344 kB / 0.9382 GB, free: 16.3 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008145/0.009469, allocations: 1.098 MB / 0.9392 GB, free: 15.37 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.009506, allocations: 11.8 kB / 0.9392 GB, free: 15.37 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.00965, allocations: 67.77 kB / 0.9393 GB, free: 15.35 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.25e-05/0.009733, allocations: 163.1 kB / 0.9395 GB, free: 15.19 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.009765, allocations: 37.16 kB / 0.9395 GB, free: 15.18 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.009868, allocations: 69.14 kB / 0.9396 GB, free: 15.18 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.01006, allocations: 214.5 kB / 0.9398 GB, free: 15 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.01006, allocations: 1.312 kB / 0.9398 GB, free: 15 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.01008, allocations: 11.25 kB / 0.9398 GB, free: 14.99 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.01009, allocations: 3.125 kB / 0.9398 GB, free: 14.99 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.021e-05/0.01017, allocations: 75.98 kB / 0.9399 GB, free: 14.96 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.01064, allocations: 0.5862 MB / 0.9404 GB, free: 14.58 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.01079, allocations: 320.3 kB / 0.9407 GB, free: 14.18 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.109e-05/0.01088, allocations: 130.1 kB / 0.9409 GB, free: 14.05 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.01089, allocations: 11.05 kB / 0.9409 GB, free: 14.04 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/0.01128, allocations: 468.9 kB / 0.9413 GB, free: 13.77 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=45): time 1.853e-06/0.01128, allocations: 0 / 0.9413 GB, free: 13.77 MB / 0.7293 GB Notification: Performance of matching and sorting (n=45): time 0.0007108/0.01199, allocations: 0.5785 MB / 0.9419 GB, free: 13.57 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.01205, allocations: 443.5 kB / 0.9423 GB, free: 13.05 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.01223, allocations: 294.8 kB / 0.9426 GB, free: 12.89 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 8.88e-05/0.01232, allocations: 67.39 kB / 0.9427 GB, free: 12.84 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.01243, allocations: 161.9 kB / 0.9428 GB, free: 12.72 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.01248, allocations: 100.4 kB / 0.9429 GB, free: 12.64 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.0128, allocations: 276.9 kB / 0.9432 GB, free: 12.57 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.01285, allocations: 353.3 kB / 0.9435 GB, free: 12.24 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006944/0.01354, allocations: 0.8598 MB / 0.9443 GB, free: 11.61 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007549/0.01429, allocations: 1.144 MB / 0.9455 GB, free: 10.6 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/0.01505, allocations: 1.197 MB / 0.9466 GB, free: 9.512 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.01505, allocations: 2.906 kB / 0.9466 GB, free: 9.512 MB / 0.7293 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001783/0.01683, allocations: 2.194 MB / 0.9488 GB, free: 8.078 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.01695, allocations: 473.4 kB / 0.9492 GB, free: 7.582 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.01696, allocations: 11.59 kB / 0.9492 GB, free: 7.582 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.01698, allocations: 12.94 kB / 0.9493 GB, free: 7.582 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/0.01703, allocations: 32.86 kB / 0.9493 GB, free: 7.57 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.01705, allocations: 27.92 kB / 0.9493 GB, free: 7.559 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.01811, allocations: 401.1 kB / 0.9497 GB, free: 7.516 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.01824, allocations: 100.8 kB / 0.9498 GB, free: 7.504 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0001692/0.01841, allocations: 227.1 kB / 0.95 GB, free: 7.332 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.01845, allocations: 47.23 kB / 0.9501 GB, free: 7.309 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.01849, allocations: 37.3 kB / 0.9501 GB, free: 7.281 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.01849, allocations: 5.188 kB / 0.9501 GB, free: 7.281 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.0185, allocations: 3.656 kB / 0.9501 GB, free: 7.281 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.01852, allocations: 43.11 kB / 0.9501 GB, free: 7.254 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.01855, allocations: 16.45 kB / 0.9502 GB, free: 7.25 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.01862, allocations: 15.7 kB / 0.9502 GB, free: 7.242 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.01869, allocations: 58.42 kB / 0.9502 GB, free: 7.223 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004844/0.01917, allocations: 1.552 MB / 0.9517 GB, free: 5.934 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000499/0.01967, allocations: 1.606 MB / 0.9533 GB, free: 4.57 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00014/0.01981, allocations: 122.6 kB / 0.9534 GB, free: 4.531 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.0001058/0.01992, allocations: 190.3 kB / 0.9536 GB, free: 4.426 MB / 0.7293 GB Notification: Performance of Backend: time 3.1e-07/0.01992, allocations: 0 / 0.9536 GB, free: 4.426 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.02187, allocations: 1.984 MB / 0.9555 GB, free: 2.676 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0008163/0.02269, allocations: 1.001 MB / 0.9565 GB, free: 1.902 MB / 0.7293 GB Notification: Performance of Templates: time 0.0142/0.03689, allocations: 13.63 MB / 0.9698 GB, free: 13.64 MB / 0.7449 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.866445861756802] Failed to read output from testmodel.py, exit status != 0: 0.04205160774290562 0.051063758 0.03989945 Calling exit ...