Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.000723/0.000723, 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.001146/0.001146, 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.8213/0.8213, allocations: 177.1 MB / 203.6 MB, free: 5.703 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.03434/0.03434, allocations: 9.136 MB / 269.2 MB, free: 4.43 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.0003687/0.0003687, allocations: 27.94 kB / 328.7 MB, free: 5.77 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.468/1.468, allocations: 275 MB / 0.6476 GB, free: 2.828 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.9294 GB, free: 20.96 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.06e-05, allocations: 6.219 kB / 0.9294 GB, free: 20.95 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001505/0.001526, allocations: 0.7316 MB / 0.9302 GB, free: 20.49 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.002797, allocations: 1.2 MB / 0.9313 GB, free: 19.63 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.002853, allocations: 3.938 kB / 0.9313 GB, free: 19.62 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.00288, allocations: 4.688 kB / 0.9313 GB, free: 19.62 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.002958, allocations: 12.22 kB / 0.9314 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.003451, allocations: 145.8 kB / 0.9315 GB, free: 19.54 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.003626, allocations: 126.2 kB / 0.9316 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.003729, allocations: 26.33 kB / 0.9316 GB, free: 19.46 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.003854, allocations: 70.92 kB / 0.9317 GB, free: 19.43 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.003943, allocations: 38.41 kB / 0.9317 GB, free: 19.42 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.003971, allocations: 15.78 kB / 0.9318 GB, free: 19.42 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-05/0.004043, allocations: 25.02 kB / 0.9318 GB, free: 19.41 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.004068, allocations: 15.27 kB / 0.9318 GB, free: 19.41 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 5.936e-05/0.004127, allocations: 39.72 kB / 0.9318 GB, free: 19.39 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.004349, allocations: 148.3 kB / 0.932 GB, free: 19.33 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.00435, allocations: 0 / 0.932 GB, free: 19.33 MB / 0.7293 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004351, allocations: 0 / 0.932 GB, free: 19.33 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.004356, allocations: 4 kB / 0.932 GB, free: 19.32 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000467/0.004823, allocations: 341.5 kB / 0.9323 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.004862, allocations: 11.98 kB / 0.9323 GB, free: 19 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.569e-05/0.004958, allocations: 13.53 kB / 0.9323 GB, free: 19 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.48e-05/0.005023, allocations: 115.1 kB / 0.9324 GB, free: 18.87 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.005038, allocations: 12.72 kB / 0.9325 GB, free: 18.86 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.005063, allocations: 7.406 kB / 0.9325 GB, free: 18.86 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.005231, allocations: 72.98 kB / 0.9325 GB, free: 18.82 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.00524, allocations: 192 / 0.9325 GB, free: 18.82 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.00525, allocations: 10.23 kB / 0.9325 GB, free: 18.81 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.005256, allocations: 5.625 kB / 0.9325 GB, free: 18.8 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.005392, allocations: 45.19 kB / 0.9326 GB, free: 18.8 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.005775, allocations: 265.7 kB / 0.9328 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.00591, allocations: 53.22 kB / 0.9329 GB, free: 18.54 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.005982, allocations: 36.5 kB / 0.9329 GB, free: 18.52 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.006003, allocations: 1.891 kB / 0.9329 GB, free: 18.52 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.006163, allocations: 97.38 kB / 0.933 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.006164, allocations: 0 / 0.933 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of matching and sorting (n=8): time 0.0003607/0.006525, allocations: 150.6 kB / 0.9332 GB, free: 18.39 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/0.006542, allocations: 54.59 kB / 0.9332 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.333e-05/0.006605, allocations: 117.2 kB / 0.9333 GB, free: 18.22 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.006622, allocations: 32.14 kB / 0.9334 GB, free: 18.18 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.00666, allocations: 103.1 kB / 0.9335 GB, free: 18.09 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.00668, allocations: 27.67 kB / 0.9335 GB, free: 18.06 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.006745, allocations: 35.75 kB / 0.9335 GB, free: 18.04 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.072e-05/0.006776, allocations: 319.3 kB / 0.9338 GB, free: 17.73 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.006909, allocations: 85.25 kB / 0.9339 GB, free: 17.68 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.00705, allocations: 123.1 kB / 0.934 GB, free: 17.58 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.007259, allocations: 153.1 kB / 0.9342 GB, free: 17.46 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.007261, allocations: 0 / 0.9342 GB, free: 17.46 MB / 0.7293 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003643/0.007625, allocations: 248.9 kB / 0.9344 GB, free: 17.32 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.007652, allocations: 39.5 kB / 0.9344 GB, free: 17.28 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.007658, allocations: 1.828 kB / 0.9344 GB, free: 17.28 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.007673, allocations: 1.5 kB / 0.9344 GB, free: 17.28 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.007751, allocations: 18.5 kB / 0.9345 GB, free: 17.28 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.007762, allocations: 1.953 kB / 0.9345 GB, free: 17.28 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.007915, allocations: 34.89 kB / 0.9345 GB, free: 17.27 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.007935, allocations: 9.078 kB / 0.9345 GB, free: 17.27 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 6.125e-05/0.007996, allocations: 129.1 kB / 0.9346 GB, free: 17.15 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.008009, allocations: 11.08 kB / 0.9346 GB, free: 17.14 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.008241, allocations: 127.9 kB / 0.9348 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.008246, allocations: 0.5156 kB / 0.9348 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.008248, allocations: 1.188 kB / 0.9348 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.008258, allocations: 7.594 kB / 0.9348 GB, free: 17.07 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.008273, allocations: 0.5625 kB / 0.9348 GB, free: 17.07 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.008312, allocations: 7.906 kB / 0.9348 GB, free: 17.07 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.008353, allocations: 18.2 kB / 0.9348 GB, free: 17.06 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002136/0.008566, allocations: 196.1 kB / 0.935 GB, free: 16.93 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000212/0.008778, allocations: 291 kB / 0.9353 GB, free: 16.7 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.538e-05/0.008864, allocations: 37.64 kB / 0.9353 GB, free: 16.69 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 2.97e-05/0.008893, allocations: 91.2 kB / 0.9354 GB, free: 16.61 MB / 0.7293 GB Notification: Performance of Backend: time 3.5e-07/0.008894, allocations: 0 / 0.9354 GB, free: 16.61 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0005254/0.009419, allocations: 257.3 kB / 0.9356 GB, free: 16.42 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0003736/0.009793, allocations: 0.6069 MB / 0.9362 GB, free: 15.82 MB / 0.7293 GB Notification: Performance of Templates: time 0.004118/0.01391, allocations: 1.762 MB / 0.9379 GB, free: 15.63 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.594399525783956] Failed to read output from testmodel.py, exit status != 0: 0.019111739471554756 0.029719221 0.023194726000000002 Calling exit ...