Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.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.000638/0.000638, 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.0007132/0.0007132, 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.8278/0.8278, allocations: 177.1 MB / 203.6 MB, free: 5.727 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.03489/0.03489, allocations: 9.124 MB / 269.2 MB, free: 4.449 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.0003646/0.0003646, allocations: 27.95 kB / 328.7 MB, free: 20.6 MB / 266.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.439/1.439, allocations: 275 MB / 0.6476 GB, free: 2.469 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.9294 GB, free: 8.117 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.481e-05, allocations: 5.375 kB / 0.9294 GB, free: 8.113 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001009/0.001024, allocations: 0.6516 MB / 0.9301 GB, free: 7.484 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008994/0.001923, allocations: 1.104 MB / 0.9311 GB, free: 6.367 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.001955, allocations: 0 / 0.9311 GB, free: 6.367 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.001976, allocations: 7.938 kB / 0.9312 GB, free: 6.359 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.002023, allocations: 5.062 kB / 0.9312 GB, free: 6.355 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.002222, allocations: 43.83 kB / 0.9312 GB, free: 6.312 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.002287, allocations: 44.78 kB / 0.9312 GB, free: 6.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.582e-05/0.002353, allocations: 11.98 kB / 0.9313 GB, free: 6.258 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.33e-05/0.002417, allocations: 31.91 kB / 0.9313 GB, free: 6.227 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.00245, allocations: 12.92 kB / 0.9313 GB, free: 6.215 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.002462, allocations: 4 kB / 0.9313 GB, free: 6.211 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.738e-05/0.00251, allocations: 28.53 kB / 0.9313 GB, free: 6.184 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.00253, allocations: 19.86 kB / 0.9313 GB, free: 6.164 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.002552, allocations: 9.406 kB / 0.9314 GB, free: 6.156 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.002655, allocations: 59.83 kB / 0.9314 GB, free: 6.098 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.002657, allocations: 4 kB / 0.9314 GB, free: 6.094 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002658, allocations: 0.6875 kB / 0.9314 GB, free: 6.094 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.002661, allocations: 0 / 0.9314 GB, free: 6.094 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003646/0.003025, allocations: 288.2 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.003055, allocations: 11.98 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.003113, allocations: 12.88 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.422e-05/0.003178, allocations: 114.6 kB / 0.9318 GB, free: 5.621 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.003186, allocations: 4.375 kB / 0.9318 GB, free: 5.617 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.003197, allocations: 4.375 kB / 0.9318 GB, free: 5.613 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.003314, allocations: 67.27 kB / 0.9319 GB, free: 5.543 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003321, allocations: 4.125 kB / 0.9319 GB, free: 5.539 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.00333, allocations: 9.422 kB / 0.9319 GB, free: 5.531 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.003334, allocations: 384 / 0.9319 GB, free: 5.531 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.055e-05/0.003424, allocations: 46.36 kB / 0.932 GB, free: 5.488 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.003682, allocations: 212.5 kB / 0.9322 GB, free: 5.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.854e-05/0.00377, allocations: 50.55 kB / 0.9322 GB, free: 5.191 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.003822, allocations: 33.98 kB / 0.9322 GB, free: 5.156 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.003836, allocations: 3.938 kB / 0.9322 GB, free: 5.152 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.986e-05/0.003936, allocations: 80.5 kB / 0.9323 GB, free: 5.062 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.003937, allocations: 3.938 kB / 0.9323 GB, free: 5.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0002281/0.004165, allocations: 114.8 kB / 0.9324 GB, free: 4.941 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.004189, allocations: 56.75 kB / 0.9325 GB, free: 4.875 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.097e-05/0.00424, allocations: 105.8 kB / 0.9326 GB, free: 4.762 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.004252, allocations: 33.69 kB / 0.9326 GB, free: 4.723 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.004281, allocations: 84.08 kB / 0.9327 GB, free: 4.637 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.004298, allocations: 20.45 kB / 0.9327 GB, free: 4.617 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.004327, allocations: 26.66 kB / 0.9327 GB, free: 4.586 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.004395, allocations: 314.8 kB / 0.933 GB, free: 4.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.716e-05/0.004442, allocations: 27.06 kB / 0.9331 GB, free: 4.246 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-05/0.004498, allocations: 47.92 kB / 0.9331 GB, free: 4.188 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.004602, allocations: 79.33 kB / 0.9332 GB, free: 4.098 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004603, allocations: 0.7188 kB / 0.9332 GB, free: 4.098 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001357/0.004739, allocations: 103.2 kB / 0.9333 GB, free: 3.992 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.00475, allocations: 7.938 kB / 0.9333 GB, free: 3.984 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.004754, allocations: 4.5 kB / 0.9333 GB, free: 3.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.004763, allocations: 4.594 kB / 0.9333 GB, free: 3.977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.004819, allocations: 11.98 kB / 0.9333 GB, free: 3.965 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.004827, allocations: 9.906 kB / 0.9333 GB, free: 3.957 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.00486, allocations: 15.94 kB / 0.9333 GB, free: 3.941 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.004867, allocations: 4 kB / 0.9333 GB, free: 3.938 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.433e-05/0.004921, allocations: 113.8 kB / 0.9335 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-06/0.004926, allocations: 0.5625 kB / 0.9335 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.005075, allocations: 106.7 kB / 0.9336 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.005078, allocations: 1.312 kB / 0.9336 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.005079, allocations: 0 / 0.9336 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.005086, allocations: 11.95 kB / 0.9336 GB, free: 3.695 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.005097, allocations: 5.391 kB / 0.9336 GB, free: 3.691 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.845e-05/0.005126, allocations: 7.938 kB / 0.9336 GB, free: 3.684 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.005157, allocations: 11.98 kB / 0.9336 GB, free: 3.672 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001554/0.005312, allocations: 170.1 kB / 0.9338 GB, free: 3.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001621/0.005474, allocations: 272.5 kB / 0.934 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.371e-05/0.005528, allocations: 35.91 kB / 0.9341 GB, free: 3.184 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.424e-05/0.005552, allocations: 79.28 kB / 0.9341 GB, free: 3.105 MB / 0.698 GB Notification: Performance of Backend: time 2.1e-07/0.005552, allocations: 2.062 kB / 0.9341 GB, free: 3.105 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002906/0.005843, allocations: 122.2 kB / 0.9342 GB, free: 2.98 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003393/0.006182, allocations: 0.5845 MB / 0.9348 GB, free: 2.352 MB / 0.698 GB Notification: Performance of Templates: time 0.002114/0.008296, allocations: 1.023 MB / 0.9358 GB, free: 1.355 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.410357601009309] Failed to read output from testmodel.py, exit status != 0: 0.014000358060002327 0.021633921 0.017489289 Calling exit ...