Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.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.0009997/0.0009997, allocations: 79.69 kB / 20.02 MB, free: 4.488 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.000818/0.000818, allocations: 165.3 kB / 23.33 MB, free: 1.184 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.8534/0.8534, allocations: 177.1 MB / 203.6 MB, free: 5.711 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.03429/0.03429, allocations: 9.129 MB / 269.2 MB, free: 4.426 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.0003663/0.0003663, allocations: 27.88 kB / 328.7 MB, free: 20.57 MB / 266.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.503/1.503, allocations: 275 MB / 0.6476 GB, free: 2.496 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.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.756e-06/2.756e-06, allocations: 0.875 kB / 0.9295 GB, free: 8.125 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.741e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.121 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime): time 0.001457/0.001485, allocations: 1.077 MB / 0.9305 GB, free: 7.066 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.0033, allocations: 2.23 MB / 0.9327 GB, free: 4.824 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.003374, allocations: 3.438 kB / 0.9327 GB, free: 4.824 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.247e-05/0.003416, allocations: 23.67 kB / 0.9327 GB, free: 4.801 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.003556, allocations: 99.2 kB / 0.9328 GB, free: 4.703 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.005318, allocations: 1.401 MB / 0.9342 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008031/0.006121, allocations: 1.209 MB / 0.9354 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.006176, allocations: 20.91 kB / 0.9354 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000458/0.006634, allocations: 0.649 MB / 0.936 GB, free: 1.484 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006521/0.007287, allocations: 366.5 kB / 0.9364 GB, free: 1.129 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.007404, allocations: 104 kB / 0.9365 GB, free: 1.027 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.00756, allocations: 120 kB / 0.9366 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.007603, allocations: 60.62 kB / 0.9367 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.007844, allocations: 355.5 kB / 0.937 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007192/0.008563, allocations: 1.189 MB / 0.9382 GB, free: 15.31 MB / 0.7137 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.008567, allocations: 0 / 0.9382 GB, free: 15.31 MB / 0.7137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.008568, allocations: 0.5 kB / 0.9382 GB, free: 15.31 MB / 0.7137 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.008574, allocations: 0.7188 kB / 0.9382 GB, free: 15.31 MB / 0.7137 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.0008497/0.009424, allocations: 1.104 MB / 0.9392 GB, free: 14.08 MB / 0.7137 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.009464, allocations: 12.48 kB / 0.9393 GB, free: 14.07 MB / 0.7137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.009606, allocations: 71.19 kB / 0.9393 GB, free: 14 MB / 0.7137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.009717, allocations: 169.9 kB / 0.9395 GB, free: 13.81 MB / 0.7137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.00975, allocations: 36.36 kB / 0.9395 GB, free: 13.77 MB / 0.7137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-05/0.009842, allocations: 64.36 kB / 0.9396 GB, free: 13.71 MB / 0.7137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.01004, allocations: 215 kB / 0.9398 GB, free: 13.45 MB / 0.7137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.01005, allocations: 4.125 kB / 0.9398 GB, free: 13.45 MB / 0.7137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.01006, allocations: 8.359 kB / 0.9398 GB, free: 13.44 MB / 0.7137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.01007, allocations: 3.812 kB / 0.9398 GB, free: 13.44 MB / 0.7137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/0.01015, allocations: 71.72 kB / 0.9399 GB, free: 13.37 MB / 0.7137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.01059, allocations: 0.5948 MB / 0.9405 GB, free: 12.7 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.01079, allocations: 315.2 kB / 0.9408 GB, free: 12.25 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.01089, allocations: 132.8 kB / 0.9409 GB, free: 12.08 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.0109, allocations: 11.69 kB / 0.9409 GB, free: 12.07 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/0.0113, allocations: 466.8 kB / 0.9413 GB, free: 11.54 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=45): time 1.703e-06/0.0113, allocations: 0.9375 kB / 0.9413 GB, free: 11.54 MB / 0.7137 GB Notification: Performance of matching and sorting (n=45): time 0.0007078/0.01201, allocations: 0.5736 MB / 0.9419 GB, free: 10.96 MB / 0.7137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.01214, allocations: 435.2 kB / 0.9423 GB, free: 10.44 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.01232, allocations: 300.3 kB / 0.9426 GB, free: 10.14 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.0124, allocations: 69.69 kB / 0.9427 GB, free: 10.07 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.01252, allocations: 161.3 kB / 0.9428 GB, free: 9.906 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 6.144e-05/0.01258, allocations: 95.36 kB / 0.9429 GB, free: 9.812 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004689/0.01305, allocations: 277.9 kB / 0.9432 GB, free: 9.535 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.01314, allocations: 354.8 kB / 0.9435 GB, free: 9.18 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007208/0.01386, allocations: 0.8542 MB / 0.9443 GB, free: 8.234 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008212/0.01468, allocations: 1.149 MB / 0.9455 GB, free: 6.855 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/0.01553, allocations: 1.195 MB / 0.9466 GB, free: 5.43 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.01553, allocations: 4 kB / 0.9466 GB, free: 5.426 MB / 0.7137 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001884/0.01742, allocations: 2.202 MB / 0.9488 GB, free: 3.031 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.0176, allocations: 473.4 kB / 0.9492 GB, free: 2.477 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.01761, allocations: 13.09 kB / 0.9493 GB, free: 2.465 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.01763, allocations: 12 kB / 0.9493 GB, free: 2.453 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.688e-05/0.01768, allocations: 31.86 kB / 0.9493 GB, free: 2.422 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.01769, allocations: 27.86 kB / 0.9493 GB, free: 2.395 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.01893, allocations: 403.2 kB / 0.9497 GB, free: 2 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-05/0.01903, allocations: 95.92 kB / 0.9498 GB, free: 1.906 MB / 0.7137 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.0002189/0.01925, allocations: 225.4 kB / 0.95 GB, free: 1.68 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.01931, allocations: 51.75 kB / 0.9501 GB, free: 1.629 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.01935, allocations: 38.23 kB / 0.9501 GB, free: 1.586 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.01936, allocations: 4 kB / 0.9501 GB, free: 1.582 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.01936, allocations: 8 kB / 0.9501 GB, free: 1.574 MB / 0.7137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.0194, allocations: 43.64 kB / 0.9502 GB, free: 1.531 MB / 0.7137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.01943, allocations: 15.98 kB / 0.9502 GB, free: 1.516 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.0195, allocations: 15.98 kB / 0.9502 GB, free: 1.5 MB / 0.7137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.01957, allocations: 59.81 kB / 0.9502 GB, free: 1.441 MB / 0.7137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006346/0.0202, allocations: 1.538 MB / 0.9517 GB, free: 15.89 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006576/0.02086, allocations: 1.613 MB / 0.9533 GB, free: 14.25 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001428/0.021, allocations: 124.1 kB / 0.9534 GB, free: 14.13 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.0001074/0.02111, allocations: 187.1 kB / 0.9536 GB, free: 13.95 MB / 0.7293 GB Notification: Performance of Backend: time 4.71e-07/0.02111, allocations: 0 / 0.9536 GB, free: 13.95 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.002247/0.02336, allocations: 1.989 MB / 0.9556 GB, free: 11.68 MB / 0.7293 GB Notification: Performance of SimCode: time 0.001107/0.02446, allocations: 0.994 MB / 0.9565 GB, free: 10.64 MB / 0.7293 GB Notification: Performance of Templates: time 0.01216/0.03663, allocations: 13.64 MB / 0.9698 GB, free: 13.37 MB / 0.7449 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.PulseNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.780129157938063] Failed to read output from testmodel.py, exit status != 0: 0.042260220274329185 0.049955415 0.039785767 Calling exit ...