Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0007917/0.0007917, 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.0007658/0.0007658, 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.8464/0.8464, allocations: 177.1 MB / 203.6 MB, free: 5.723 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.03511/0.03511, allocations: 9.134 MB / 269.2 MB, free: 4.441 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.0003942/0.0003942, allocations: 27.94 kB / 328.7 MB, free: 20.57 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.507/1.507, allocations: 275 MB / 0.6476 GB, free: 2.473 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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.9295 GB, free: 8.102 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.483e-05, allocations: 3.812 kB / 0.9295 GB, free: 8.098 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001226/0.001251, allocations: 0.7201 MB / 0.9302 GB, free: 7.398 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.002247, allocations: 1.117 MB / 0.9313 GB, free: 6.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.002295, allocations: 0 / 0.9313 GB, free: 6.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.00232, allocations: 7.938 kB / 0.9313 GB, free: 6.262 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.002389, allocations: 12.92 kB / 0.9313 GB, free: 6.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.002664, allocations: 55.75 kB / 0.9313 GB, free: 6.195 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.965e-05/0.002754, allocations: 73.59 kB / 0.9314 GB, free: 6.125 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.002847, allocations: 16.16 kB / 0.9314 GB, free: 6.105 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.716e-05/0.002934, allocations: 43.89 kB / 0.9315 GB, free: 6.062 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.002982, allocations: 27.91 kB / 0.9315 GB, free: 6.035 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.003, allocations: 6.375 kB / 0.9315 GB, free: 6.031 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.999e-05/0.00305, allocations: 15.98 kB / 0.9315 GB, free: 6.016 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.003071, allocations: 15.98 kB / 0.9315 GB, free: 6 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.003105, allocations: 23.91 kB / 0.9316 GB, free: 5.977 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.003237, allocations: 83.73 kB / 0.9316 GB, free: 5.895 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003239, allocations: 0 / 0.9316 GB, free: 5.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.62e-07/0.00324, allocations: 0 / 0.9316 GB, free: 5.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.003244, allocations: 1.688 kB / 0.9316 GB, free: 5.895 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004339/0.003678, allocations: 302 kB / 0.9319 GB, free: 5.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.00372, allocations: 11.98 kB / 0.9319 GB, free: 5.559 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.003757, allocations: 17.47 kB / 0.932 GB, free: 5.543 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/0.003841, allocations: 113.7 kB / 0.9321 GB, free: 5.406 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.003852, allocations: 4.906 kB / 0.9321 GB, free: 5.402 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.003866, allocations: 5.5 kB / 0.9321 GB, free: 5.398 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.004012, allocations: 74.16 kB / 0.9321 GB, free: 5.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.00402, allocations: 1.938 kB / 0.9321 GB, free: 5.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.004029, allocations: 384 / 0.9321 GB, free: 5.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.004035, allocations: 4.125 kB / 0.9321 GB, free: 5.316 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.404e-05/0.004129, allocations: 47.89 kB / 0.9322 GB, free: 5.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.004541, allocations: 257.8 kB / 0.9324 GB, free: 4.988 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.004658, allocations: 55.88 kB / 0.9325 GB, free: 4.926 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.00471, allocations: 32.89 kB / 0.9325 GB, free: 4.891 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.004733, allocations: 5.5 kB / 0.9325 GB, free: 4.887 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.004852, allocations: 75.38 kB / 0.9326 GB, free: 4.801 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.965e-06/0.004855, allocations: 4.703 kB / 0.9326 GB, free: 4.797 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002637/0.005118, allocations: 134.8 kB / 0.9327 GB, free: 4.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.005145, allocations: 55.41 kB / 0.9328 GB, free: 4.594 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.005217, allocations: 122.5 kB / 0.9329 GB, free: 4.469 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.00523, allocations: 33.7 kB / 0.9329 GB, free: 4.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.00527, allocations: 92.08 kB / 0.933 GB, free: 4.336 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.005285, allocations: 15.89 kB / 0.933 GB, free: 4.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.00532, allocations: 29.7 kB / 0.9331 GB, free: 4.285 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.005396, allocations: 326.4 kB / 0.9334 GB, free: 3.961 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.789e-05/0.005454, allocations: 23.98 kB / 0.9334 GB, free: 3.938 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.99e-05/0.005534, allocations: 69.98 kB / 0.9335 GB, free: 3.848 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.005665, allocations: 111.9 kB / 0.9336 GB, free: 3.719 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005667, allocations: 0 / 0.9336 GB, free: 3.719 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000176/0.005843, allocations: 139.8 kB / 0.9337 GB, free: 3.578 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.005856, allocations: 8 kB / 0.9337 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.005861, allocations: 0 / 0.9337 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.005874, allocations: 8.219 kB / 0.9337 GB, free: 3.562 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.00595, allocations: 15.98 kB / 0.9337 GB, free: 3.547 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.005963, allocations: 3.938 kB / 0.9337 GB, free: 3.543 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.006007, allocations: 19.92 kB / 0.9338 GB, free: 3.523 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.006018, allocations: 8 kB / 0.9338 GB, free: 3.516 MB / 0.698 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 6.223e-05/0.00608, allocations: 113.8 kB / 0.9339 GB, free: 3.395 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.006089, allocations: 11.89 kB / 0.9339 GB, free: 3.383 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.00611, allocations: 12.38 kB / 0.9339 GB, free: 3.371 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.006115, allocations: 7.984 kB / 0.9339 GB, free: 3.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006116, allocations: 4 kB / 0.9339 GB, free: 3.359 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.006125, allocations: 3.953 kB / 0.9339 GB, free: 3.355 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.006136, allocations: 7.938 kB / 0.9339 GB, free: 3.348 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.276e-05/0.006159, allocations: 3.984 kB / 0.9339 GB, free: 3.344 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.006196, allocations: 8 kB / 0.9339 GB, free: 3.336 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001766/0.006373, allocations: 184.8 kB / 0.9341 GB, free: 3.148 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001867/0.00656, allocations: 274.7 kB / 0.9344 GB, free: 2.863 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.919e-05/0.006619, allocations: 35.97 kB / 0.9344 GB, free: 2.828 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.591e-05/0.006655, allocations: 91.27 kB / 0.9345 GB, free: 2.738 MB / 0.698 GB Notification: Performance of Backend: time 2.5e-07/0.006655, allocations: 4 kB / 0.9345 GB, free: 2.734 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003318/0.006987, allocations: 125 kB / 0.9346 GB, free: 2.609 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004274/0.007414, allocations: 0.6111 MB / 0.9352 GB, free: 1.953 MB / 0.698 GB Notification: Performance of Templates: time 0.002573/0.009987, allocations: 1.148 MB / 0.9363 GB, free: 0.8398 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.607459109276533] Failed to read output from testmodel.py, exit status != 0: 0.014628499746322632 0.022383902 0.017564581000000003 Calling exit ...