Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.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.000778/0.000778, allocations: 79.69 kB / 20.03 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.0008385/0.0008385, allocations: 165.3 kB / 23.33 MB, free: 1.188 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.8627/0.8627, allocations: 177.1 MB / 203.7 MB, free: 5.699 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.0345/0.0345, allocations: 9.116 MB / 269.2 MB, free: 4.445 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.0004371/0.0004371, allocations: 15.98 kB / 328.7 MB, free: 5.789 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.467/1.467, allocations: 275 MB / 0.6476 GB, free: 2.82 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9295 GB, free: 20.95 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.442e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.94 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001172/0.001187, allocations: 0.9011 MB / 0.9304 GB, free: 20.38 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.002263, allocations: 1.475 MB / 0.9318 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.002316, allocations: 1.531 kB / 0.9318 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.002345, allocations: 18.64 kB / 0.9318 GB, free: 19.29 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.002453, allocations: 55.92 kB / 0.9319 GB, free: 19.25 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.00308, allocations: 452.6 kB / 0.9323 GB, free: 19.02 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.003392, allocations: 499 kB / 0.9328 GB, free: 18.77 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.003493, allocations: 38.72 kB / 0.9328 GB, free: 18.75 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.003686, allocations: 260 kB / 0.9331 GB, free: 18.62 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.003852, allocations: 133.5 kB / 0.9332 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 5.18e-05/0.003903, allocations: 49.09 kB / 0.9332 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 8.387e-05/0.003987, allocations: 66.19 kB / 0.9333 GB, free: 18.56 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.004015, allocations: 40.59 kB / 0.9333 GB, free: 18.54 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.00412, allocations: 138.2 kB / 0.9335 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.004558, allocations: 0.5588 MB / 0.934 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00456, allocations: 0 / 0.934 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of FrontEnd: time 8.71e-07/0.004561, allocations: 3.938 kB / 0.934 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.004566, allocations: 1.188 kB / 0.934 GB, free: 18.25 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000495/0.005061, allocations: 0.5613 MB / 0.9346 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.005095, allocations: 13.23 kB / 0.9346 GB, free: 17.74 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.086e-05/0.005156, allocations: 31.12 kB / 0.9346 GB, free: 17.73 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.963e-05/0.005255, allocations: 163 kB / 0.9348 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.005275, allocations: 16.73 kB / 0.9348 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.005314, allocations: 23.88 kB / 0.9348 GB, free: 17.56 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.00545, allocations: 123.4 kB / 0.9349 GB, free: 17.47 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.005457, allocations: 192 / 0.9349 GB, free: 17.47 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005468, allocations: 2.562 kB / 0.9349 GB, free: 17.47 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.005473, allocations: 6.469 kB / 0.9349 GB, free: 17.47 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.695e-05/0.00555, allocations: 64.09 kB / 0.935 GB, free: 17.44 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005801/0.00613, allocations: 0.7195 MB / 0.9357 GB, free: 16.86 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.006235, allocations: 126.8 kB / 0.9358 GB, free: 16.73 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.006284, allocations: 52.36 kB / 0.9359 GB, free: 16.68 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.006297, allocations: 2.75 kB / 0.9359 GB, free: 16.68 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.00648, allocations: 176.6 kB / 0.936 GB, free: 16.57 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.006481, allocations: 0 / 0.936 GB, free: 16.57 MB / 0.7293 GB Notification: Performance of matching and sorting (n=16): time 0.0003524/0.006833, allocations: 223.6 kB / 0.9363 GB, free: 16.48 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.006859, allocations: 145.5 kB / 0.9364 GB, free: 16.31 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.007027, allocations: 241 kB / 0.9366 GB, free: 16.16 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.007064, allocations: 38.75 kB / 0.9367 GB, free: 16.13 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.007123, allocations: 140.2 kB / 0.9368 GB, free: 16.01 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.007142, allocations: 31.91 kB / 0.9368 GB, free: 15.98 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.007246, allocations: 92.11 kB / 0.9369 GB, free: 15.95 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.007284, allocations: 331.8 kB / 0.9372 GB, free: 15.63 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.007504, allocations: 271 kB / 0.9375 GB, free: 15.43 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.007737, allocations: 352.2 kB / 0.9378 GB, free: 15.14 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.007978, allocations: 369.9 kB / 0.9382 GB, free: 14.82 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.007981, allocations: 5.312 kB / 0.9382 GB, free: 14.82 MB / 0.7293 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006197/0.008601, allocations: 0.6856 MB / 0.9388 GB, free: 14.36 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.008644, allocations: 133.7 kB / 0.939 GB, free: 14.23 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.008649, allocations: 4.469 kB / 0.939 GB, free: 14.23 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.008662, allocations: 12.78 kB / 0.939 GB, free: 14.22 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.491e-05/0.008717, allocations: 17.86 kB / 0.939 GB, free: 14.21 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.008726, allocations: 4.859 kB / 0.939 GB, free: 14.21 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.009048, allocations: 104.7 kB / 0.9391 GB, free: 14.2 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.009085, allocations: 31.42 kB / 0.9391 GB, free: 14.2 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: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.105e-05/0.009166, allocations: 158 kB / 0.9393 GB, free: 14.05 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.009184, allocations: 21.55 kB / 0.9393 GB, free: 14.04 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.009211, allocations: 22.75 kB / 0.9393 GB, free: 14.03 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.009215, allocations: 4.688 kB / 0.9393 GB, free: 14.03 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009217, allocations: 1.406 kB / 0.9393 GB, free: 14.03 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.009238, allocations: 21.03 kB / 0.9394 GB, free: 14.02 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.009255, allocations: 8.344 kB / 0.9394 GB, free: 14.01 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.826e-05/0.009284, allocations: 6.344 kB / 0.9394 GB, free: 14.01 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.009322, allocations: 21.72 kB / 0.9394 GB, free: 14 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001988/0.009521, allocations: 476.3 kB / 0.9399 GB, free: 13.62 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001931/0.009714, allocations: 0.5559 MB / 0.9404 GB, free: 13.14 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.236e-05/0.009776, allocations: 49.81 kB / 0.9404 GB, free: 13.12 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 8.565e-05/0.009862, allocations: 170.2 kB / 0.9406 GB, free: 13.01 MB / 0.7293 GB Notification: Performance of Backend: time 1.51e-07/0.009862, allocations: 0 / 0.9406 GB, free: 13.01 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0007032/0.01057, allocations: 0.636 MB / 0.9412 GB, free: 12.46 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0004975/0.01106, allocations: 0.7807 MB / 0.942 GB, free: 11.78 MB / 0.7293 GB Notification: Performance of Templates: time 0.006289/0.01735, allocations: 5.251 MB / 0.9471 GB, free: 11.19 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.725218525156379] Failed to read output from testmodel.py, exit status != 0: 0.021515395492315292 0.029543080000000003 0.023504628000000003 Calling exit ...