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/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.04227/0.04227, allocations: 9.129 MB / 28.99 MB, free: 0.8086 MB / 18.57 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/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.0009091/0.0009091, allocations: 95.14 kB / 35.33 MB, free: 1.066 MB / 24.77 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.0009667/0.0009667, allocations: 163.7 kB / 38.73 MB, free: 2.5 MB / 24.77 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.989/0.989, allocations: 177.2 MB / 219.2 MB, free: 10.1 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004113/0.004113, allocations: 0.8257 MB / 276.5 MB, free: 0.7266 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.681/1.681, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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.595e-06/2.595e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.313e-05/3.573e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002461/0.002497, allocations: 0.7794 MB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.004239, allocations: 1.194 MB / 0.6399 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.004298, allocations: 0 / 0.6399 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.004331, allocations: 3.938 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.004444, allocations: 15.88 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.00495, allocations: 127.6 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.005162, allocations: 131.7 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.005252, allocations: 8 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.005388, allocations: 71.88 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.005498, allocations: 31.89 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.005525, allocations: 12 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.005619, allocations: 27.98 kB / 0.6403 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.005641, allocations: 3.938 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.005691, allocations: 35.97 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.005881, allocations: 99.7 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.005886, allocations: 0 / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005887, allocations: 4 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.005893, allocations: 3.984 kB / 0.6404 GB, free: 11.51 MB / 0.6043 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.0004222/0.006315, allocations: 298 kB / 0.6407 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.006359, allocations: 11.98 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.006403, allocations: 8.922 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.006512, allocations: 109.8 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.006531, allocations: 4.375 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.006547, allocations: 4.375 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.68e-05/0.006634, allocations: 54.94 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.006643, allocations: 192 / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.006649, allocations: 384 / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.006654, allocations: 4.375 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.15e-05/0.006676, allocations: 15.86 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.006973, allocations: 180.2 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.346e-05/0.007026, allocations: 22.61 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.007044, allocations: 12.92 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.00705, allocations: 0 / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.007154, allocations: 59.33 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.007155, allocations: 0 / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001498/0.007305, allocations: 53.61 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.007341, allocations: 63.41 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.007428, allocations: 126.6 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.007447, allocations: 29.64 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.007495, allocations: 100 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.007513, allocations: 7.953 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.007568, allocations: 29.69 kB / 0.6416 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.007658, allocations: 318.8 kB / 0.6419 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.007719, allocations: 49.69 kB / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.007782, allocations: 72.25 kB / 0.642 GB, free: 9.727 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.481e-05/0.007867, allocations: 80.19 kB / 0.642 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007869, allocations: 0 / 0.642 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001583/0.008027, allocations: 153.1 kB / 0.6422 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.008062, allocations: 33.69 kB / 0.6422 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.008069, allocations: 4 kB / 0.6422 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.008085, allocations: 3.938 kB / 0.6422 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.452e-05/0.00813, allocations: 4 kB / 0.6422 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.008133, allocations: 0 / 0.6422 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.00825, allocations: 19.98 kB / 0.6423 GB, free: 9.395 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.008268, allocations: 12.05 kB / 0.6423 GB, free: 9.383 MB / 0.6043 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 7.108e-05/0.008339, allocations: 109.8 kB / 0.6424 GB, free: 9.266 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.008352, allocations: 4 kB / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.008375, allocations: 8 kB / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.008381, allocations: 11.92 kB / 0.6424 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.008383, allocations: 0 / 0.6424 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.008386, allocations: 0 / 0.6424 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.897e-05/0.008465, allocations: 77.81 kB / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.008466, allocations: 0 / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.008485, allocations: 7.938 kB / 0.6425 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.008487, allocations: 4 kB / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.008492, allocations: 0 / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.008493, allocations: 0 / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008495, allocations: 0 / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.837e-05/0.008583, allocations: 81.27 kB / 0.6426 GB, free: 9.043 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.008594, allocations: 3.953 kB / 0.6426 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.008605, allocations: 4 kB / 0.6426 GB, free: 9.035 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.008627, allocations: 0 / 0.6426 GB, free: 9.035 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.008648, allocations: 3.938 kB / 0.6426 GB, free: 9.031 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.008655, allocations: 7.984 kB / 0.6426 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.416e-05/0.008679, allocations: 16.84 kB / 0.6426 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.008679, allocations: 4 kB / 0.6426 GB, free: 9 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001767/0.008856, allocations: 20 kB / 0.6426 GB, free: 8.98 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000142/0.008998, allocations: 88.28 kB / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.009159, allocations: 133.9 kB / 0.6428 GB, free: 8.73 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.009163, allocations: 0 / 0.6428 GB, free: 8.73 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.606e-05/0.009189, allocations: 20.78 kB / 0.6428 GB, free: 8.707 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.009335, allocations: 20.11 kB / 0.6429 GB, free: 8.688 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.00961, allocations: 140.5 kB / 0.643 GB, free: 8.523 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.65e-05/0.009646, allocations: 59.34 kB / 0.6431 GB, free: 8.445 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.009672, allocations: 4 kB / 0.6431 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.009766, allocations: 63.36 kB / 0.6431 GB, free: 8.379 MB / 0.6043 GB Notification: Performance of SimCode: time 9.22e-07/0.009767, allocations: 0 / 0.6431 GB, free: 8.379 MB / 0.6043 GB Notification: Performance of Templates: time 0.004258/0.01403, allocations: 1.619 MB / 0.6447 GB, free: 6.758 MB / 0.6043 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.415177777875215]