Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.001152/0.001152, 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.001345/0.001345, 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.8603/0.8603, allocations: 177.1 MB / 203.6 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.03444/0.03444, allocations: 9.119 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.000573/0.000573, allocations: 27.95 kB / 328.7 MB, free: 5.785 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.483/1.483, allocations: 274.9 MB / 0.6476 GB, free: 2.867 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 1.312 kB / 0.9295 GB, free: 20.73 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.322e-05, allocations: 6.281 kB / 0.9295 GB, free: 20.73 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001127/0.00115, allocations: 0.6914 MB / 0.9302 GB, free: 20.3 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0009539/0.002104, allocations: 1.169 MB / 0.9313 GB, free: 19.46 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.00215, allocations: 4 kB / 0.9313 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.002174, allocations: 5.75 kB / 0.9313 GB, free: 19.45 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 7.473e-05/0.002249, allocations: 16.5 kB / 0.9314 GB, free: 19.44 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.002617, allocations: 129.6 kB / 0.9315 GB, free: 19.37 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.002761, allocations: 130.3 kB / 0.9316 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 7.995e-05/0.002841, allocations: 13.66 kB / 0.9316 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.002925, allocations: 64.28 kB / 0.9317 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.00301, allocations: 33.5 kB / 0.9317 GB, free: 19.25 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.003034, allocations: 12.94 kB / 0.9317 GB, free: 19.25 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.371e-05/0.003087, allocations: 27.94 kB / 0.9317 GB, free: 19.25 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.003106, allocations: 12 kB / 0.9318 GB, free: 19.24 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.003152, allocations: 37.81 kB / 0.9318 GB, free: 19.22 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.003328, allocations: 145.9 kB / 0.9319 GB, free: 19.17 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.00333, allocations: 0 / 0.9319 GB, free: 19.17 MB / 0.7293 GB Notification: Performance of FrontEnd: time 7.62e-07/0.00333, allocations: 0 / 0.9319 GB, free: 19.17 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.003334, allocations: 0 / 0.9319 GB, free: 19.17 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003492/0.003683, allocations: 321.3 kB / 0.9322 GB, free: 18.85 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.003721, allocations: 13.8 kB / 0.9323 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.00376, allocations: 9.891 kB / 0.9323 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.003832, allocations: 134.1 kB / 0.9324 GB, free: 18.69 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.003845, allocations: 3.891 kB / 0.9324 GB, free: 18.69 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.003863, allocations: 5.562 kB / 0.9324 GB, free: 18.69 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.078e-05/0.003933, allocations: 41.48 kB / 0.9324 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.00394, allocations: 192 / 0.9324 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.003949, allocations: 2.5 kB / 0.9324 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.003953, allocations: 384 / 0.9324 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.337e-05/0.003986, allocations: 20.61 kB / 0.9325 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.004248, allocations: 244.5 kB / 0.9327 GB, free: 18.42 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 4.384e-05/0.004292, allocations: 31.61 kB / 0.9327 GB, free: 18.39 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.00431, allocations: 16.52 kB / 0.9327 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.00432, allocations: 2.297 kB / 0.9327 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.739e-05/0.004407, allocations: 73.25 kB / 0.9328 GB, free: 18.31 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.004408, allocations: 0 / 0.9328 GB, free: 18.31 MB / 0.7293 GB Notification: Performance of matching and sorting (n=4): time 0.0001586/0.004567, allocations: 78.81 kB / 0.9329 GB, free: 18.26 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.526e-05/0.004582, allocations: 53.36 kB / 0.9329 GB, free: 18.2 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.004654, allocations: 125.4 kB / 0.9331 GB, free: 18.09 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.004667, allocations: 30.86 kB / 0.9331 GB, free: 18.06 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.004698, allocations: 97.59 kB / 0.9332 GB, free: 17.96 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.154e-05/0.00471, allocations: 7.203 kB / 0.9332 GB, free: 17.96 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.004751, allocations: 29.31 kB / 0.9332 GB, free: 17.94 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.636e-05/0.004777, allocations: 323.3 kB / 0.9335 GB, free: 17.62 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/0.004846, allocations: 66.88 kB / 0.9336 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-05/0.00491, allocations: 88.73 kB / 0.9337 GB, free: 17.5 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/0.004979, allocations: 93.73 kB / 0.9338 GB, free: 17.42 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.004981, allocations: 0 / 0.9338 GB, free: 17.42 MB / 0.7293 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001756/0.005157, allocations: 199.6 kB / 0.934 GB, free: 17.28 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.005181, allocations: 40.22 kB / 0.934 GB, free: 17.25 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005186, allocations: 2.078 kB / 0.934 GB, free: 17.25 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.005197, allocations: 5.125 kB / 0.934 GB, free: 17.24 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.147e-05/0.005239, allocations: 2.828 kB / 0.934 GB, free: 17.24 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.005246, allocations: 9.047 kB / 0.934 GB, free: 17.23 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.005363, allocations: 32.62 kB / 0.934 GB, free: 17.23 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.005376, allocations: 6.109 kB / 0.934 GB, free: 17.23 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 4.529e-05/0.005422, allocations: 121.4 kB / 0.9342 GB, free: 17.11 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-06/0.00543, allocations: 14.56 kB / 0.9342 GB, free: 17.09 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.005447, allocations: 10.88 kB / 0.9342 GB, free: 17.09 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.00545, allocations: 4 kB / 0.9342 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005451, allocations: 1.281 kB / 0.9342 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.00546, allocations: 3.391 kB / 0.9342 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.005471, allocations: 6.453 kB / 0.9342 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.005481, allocations: 0 / 0.9342 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.005508, allocations: 7.031 kB / 0.9342 GB, free: 17.07 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.882e-05/0.005577, allocations: 133.6 kB / 0.9343 GB, free: 16.96 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.191e-05/0.005649, allocations: 242.8 kB / 0.9346 GB, free: 16.73 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.267e-05/0.005672, allocations: 11.47 kB / 0.9346 GB, free: 16.73 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.005702, allocations: 99.17 kB / 0.9347 GB, free: 16.65 MB / 0.7293 GB Notification: Performance of Backend: time 2.3e-07/0.005702, allocations: 0 / 0.9347 GB, free: 16.65 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.006037, allocations: 219.9 kB / 0.9349 GB, free: 16.46 MB / 0.7293 GB Notification: Performance of SimCode: time 0.000308/0.006345, allocations: 0.6034 MB / 0.9355 GB, free: 15.85 MB / 0.7293 GB Notification: Performance of Templates: time 0.002967/0.009312, allocations: 1.536 MB / 0.937 GB, free: 15.68 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.687568986788392] Failed to read output from testmodel.py, exit status != 0: 0.01336400955915451 0.023618212000000003 0.018541377 Calling exit ...