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/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.04113/0.04113, 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.0009175/0.0009175, allocations: 90.38 kB / 35.33 MB, free: 1.074 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.002794/0.002794, allocations: 167.7 kB / 38.73 MB, free: 2.504 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.9799/0.9799, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.004042/0.004042, allocations: 0.8225 MB / 276.5 MB, free: 0.7461 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.695/1.695, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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.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 2.454e-06/2.454e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.593e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.00144/0.001466, allocations: 0.748 MB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.002563, allocations: 1.131 MB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.002609, allocations: 4 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.002637, allocations: 3.938 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.866e-05/0.002705, allocations: 11.88 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.002958, allocations: 59.75 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.895e-05/0.003057, allocations: 75.7 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.003142, allocations: 16.11 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.003236, allocations: 47.89 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.003285, allocations: 19.97 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.003305, allocations: 8 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.874e-05/0.003364, allocations: 15.98 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.003387, allocations: 15.92 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.003412, allocations: 19.98 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003527, allocations: 67.72 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003529, allocations: 0 / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.42e-07/0.00353, allocations: 4 kB / 0.6401 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.003534, allocations: 0 / 0.6401 GB, free: 11.87 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003431/0.003877, allocations: 280.3 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.003909, allocations: 11.98 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.003936, allocations: 4.938 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/0.004029, allocations: 121.7 kB / 0.6405 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.004038, allocations: 384 / 0.6405 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.004053, allocations: 12.36 kB / 0.6405 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.004154, allocations: 70.88 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.004159, allocations: 192 / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.004166, allocations: 4.375 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.004172, allocations: 4.125 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.84e-05/0.004191, allocations: 11.98 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.004477, allocations: 184.2 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.672e-05/0.004564, allocations: 34.56 kB / 0.6408 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.004579, allocations: 8.859 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.004595, allocations: 4 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.085e-05/0.004666, allocations: 63.45 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.004667, allocations: 0 / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001127/0.00478, allocations: 65.92 kB / 0.6409 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.004818, allocations: 51.41 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.963e-05/0.004888, allocations: 126.7 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.0049, allocations: 29.7 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.004937, allocations: 96.08 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.004959, allocations: 23.81 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.004995, allocations: 25.72 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.005075, allocations: 322.8 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.005095, allocations: 11.94 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.855e-05/0.005134, allocations: 57.92 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.207e-05/0.005206, allocations: 69.91 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005208, allocations: 0 / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.901e-05/0.005297, allocations: 85.48 kB / 0.6418 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.00531, allocations: 7.938 kB / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.005315, allocations: 0 / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.005325, allocations: 4 kB / 0.6418 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.005406, allocations: 15.98 kB / 0.6418 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.005411, allocations: 4 kB / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.005443, allocations: 11.98 kB / 0.6418 GB, free: 9.879 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.005454, allocations: 8.219 kB / 0.6418 GB, free: 9.871 MB / 0.6043 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.778e-05/0.005522, allocations: 117.8 kB / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.005532, allocations: 11.92 kB / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.005554, allocations: 8.438 kB / 0.6419 GB, free: 9.727 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.005557, allocations: 4 kB / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.005558, allocations: 0 / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.005561, allocations: 0 / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.005736, allocations: 218.6 kB / 0.6421 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.005738, allocations: 7.938 kB / 0.6422 GB, free: 9.477 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.005759, allocations: 4 kB / 0.6422 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005761, allocations: 8 kB / 0.6422 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.005767, allocations: 4 kB / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.005768, allocations: 0 / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005769, allocations: 0 / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.104e-05/0.00584, allocations: 147.5 kB / 0.6423 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-06/0.00585, allocations: 11.89 kB / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.005857, allocations: 0 / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.236e-05/0.00589, allocations: 7.984 kB / 0.6423 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.005915, allocations: 4 kB / 0.6423 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.005918, allocations: 4 kB / 0.6423 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.746e-05/0.005936, allocations: 24.77 kB / 0.6424 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005936, allocations: 4 kB / 0.6424 GB, free: 9.242 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000136/0.006072, allocations: 16 kB / 0.6424 GB, free: 9.227 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001103/0.006182, allocations: 84.41 kB / 0.6425 GB, free: 9.137 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.528e-05/0.006267, allocations: 40.78 kB / 0.6425 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.00627, allocations: 0 / 0.6425 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.405e-05/0.006304, allocations: 28.77 kB / 0.6425 GB, free: 9.062 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.006454, allocations: 21.3 kB / 0.6425 GB, free: 9.043 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.006708, allocations: 153.1 kB / 0.6427 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.006749, allocations: 63.34 kB / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.313e-05/0.006772, allocations: 7.984 kB / 0.6428 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.006824, allocations: 59.36 kB / 0.6428 GB, free: 8.715 MB / 0.6043 GB Notification: Performance of SimCode: time 8.22e-07/0.006824, allocations: 4 kB / 0.6428 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of Templates: time 0.002914/0.009739, allocations: 1.071 MB / 0.6439 GB, free: 7.645 MB / 0.6043 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=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.366658404935151]