Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.0007269/0.0007269, 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.0007375/0.0007375, 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.8389/0.8389, allocations: 177.1 MB / 203.7 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.03356/0.03356, allocations: 9.115 MB / 269.2 MB, free: 4.453 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.0002916/0.0002916, allocations: 31.95 kB / 328.7 MB, free: 5.777 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.48/1.48, 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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 1.156 kB / 0.9295 GB, free: 20.92 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.946e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.92 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001105/0.001125, allocations: 0.7151 MB / 0.9302 GB, free: 20.48 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0008603/0.001985, allocations: 1.124 MB / 0.9313 GB, free: 19.66 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.002028, allocations: 0 / 0.9313 GB, free: 19.66 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.487e-05/0.002053, allocations: 5.75 kB / 0.9313 GB, free: 19.65 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.002116, allocations: 10.62 kB / 0.9313 GB, free: 19.64 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.002362, allocations: 55.66 kB / 0.9314 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.002446, allocations: 74.16 kB / 0.9314 GB, free: 19.58 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.002534, allocations: 15.2 kB / 0.9314 GB, free: 19.57 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.002619, allocations: 43.2 kB / 0.9315 GB, free: 19.55 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.002666, allocations: 31.84 kB / 0.9315 GB, free: 19.53 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.002682, allocations: 6.844 kB / 0.9315 GB, free: 19.53 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-05/0.002731, allocations: 14.61 kB / 0.9315 GB, free: 19.53 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.002752, allocations: 17.16 kB / 0.9315 GB, free: 19.52 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.002783, allocations: 19.34 kB / 0.9316 GB, free: 19.51 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.002909, allocations: 84.52 kB / 0.9316 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002911, allocations: 0 / 0.9316 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of FrontEnd: time 6.62e-07/0.002912, allocations: 0 / 0.9316 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.002916, allocations: 1.438 kB / 0.9316 GB, free: 19.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003532/0.003269, allocations: 307 kB / 0.9319 GB, free: 19.19 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.003309, allocations: 17.69 kB / 0.932 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.00334, allocations: 8.484 kB / 0.932 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.082e-05/0.0034, allocations: 119.7 kB / 0.9321 GB, free: 19.04 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.00341, allocations: 3.906 kB / 0.9321 GB, free: 19.04 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.003425, allocations: 7.594 kB / 0.9321 GB, free: 19.04 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.003568, allocations: 65.19 kB / 0.9322 GB, free: 19 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.003576, allocations: 192 / 0.9322 GB, free: 19 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.003585, allocations: 1.719 kB / 0.9322 GB, free: 19 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.003589, allocations: 4.828 kB / 0.9322 GB, free: 19 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.53e-05/0.003685, allocations: 52.45 kB / 0.9322 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.004038, allocations: 250 kB / 0.9324 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.004142, allocations: 54.28 kB / 0.9325 GB, free: 18.73 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.004192, allocations: 26.7 kB / 0.9325 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.00421, allocations: 9.828 kB / 0.9325 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.004317, allocations: 79.45 kB / 0.9326 GB, free: 18.65 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.004318, allocations: 0 / 0.9326 GB, free: 18.65 MB / 0.7293 GB Notification: Performance of matching and sorting (n=7): time 0.0002609/0.004579, allocations: 138.8 kB / 0.9327 GB, free: 18.58 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.817e-05/0.004597, allocations: 55.11 kB / 0.9328 GB, free: 18.52 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.004653, allocations: 126.8 kB / 0.9329 GB, free: 18.41 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.004662, allocations: 31.97 kB / 0.9329 GB, free: 18.37 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.605e-05/0.004688, allocations: 90.95 kB / 0.933 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.004702, allocations: 20.62 kB / 0.9331 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.004735, allocations: 29.98 kB / 0.9331 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.557e-05/0.004761, allocations: 319.8 kB / 0.9334 GB, free: 17.93 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.066e-05/0.004822, allocations: 27.05 kB / 0.9334 GB, free: 17.92 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.004895, allocations: 75.45 kB / 0.9335 GB, free: 17.86 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.005015, allocations: 108.5 kB / 0.9336 GB, free: 17.78 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005017, allocations: 0 / 0.9336 GB, free: 17.78 MB / 0.7293 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001647/0.005181, allocations: 136 kB / 0.9337 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.005193, allocations: 8.75 kB / 0.9337 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.005199, allocations: 3.719 kB / 0.9337 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.00521, allocations: 2.25 kB / 0.9337 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.005286, allocations: 15.66 kB / 0.9337 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.005295, allocations: 7.828 kB / 0.9338 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.08e-05/0.005336, allocations: 15.38 kB / 0.9338 GB, free: 17.7 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.005347, allocations: 6.516 kB / 0.9338 GB, free: 17.7 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.247e-05/0.00539, allocations: 116.2 kB / 0.9339 GB, free: 17.58 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.005397, allocations: 10.42 kB / 0.9339 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.005416, allocations: 15.11 kB / 0.9339 GB, free: 17.56 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.005419, allocations: 0.5156 kB / 0.9339 GB, free: 17.56 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.00542, allocations: 1.312 kB / 0.9339 GB, free: 17.56 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.005427, allocations: 10.3 kB / 0.9339 GB, free: 17.55 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.005437, allocations: 2.219 kB / 0.9339 GB, free: 17.55 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.506e-05/0.005462, allocations: 7.016 kB / 0.9339 GB, free: 17.55 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.005501, allocations: 12.8 kB / 0.9339 GB, free: 17.54 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001541/0.005655, allocations: 193.9 kB / 0.9341 GB, free: 17.41 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001373/0.005792, allocations: 277.2 kB / 0.9344 GB, free: 17.18 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.671e-05/0.005849, allocations: 26.08 kB / 0.9344 GB, free: 17.18 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 2.476e-05/0.005874, allocations: 96.19 kB / 0.9345 GB, free: 17.1 MB / 0.7293 GB Notification: Performance of Backend: time 1.21e-07/0.005874, allocations: 0 / 0.9345 GB, free: 17.1 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.00618, allocations: 127.9 kB / 0.9346 GB, free: 17.02 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0003031/0.006483, allocations: 0.6139 MB / 0.9352 GB, free: 16.41 MB / 0.7293 GB Notification: Performance of Templates: time 0.002617/0.0091, allocations: 1.15 MB / 0.9364 GB, free: 16.31 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.653509323485196] Failed to read output from testmodel.py, exit status != 0: 0.013591867871582508 0.024154019000000002 0.019436651000000003 Calling exit ...