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.04296/0.04296, allocations: 9.13 MB / 28.99 MB, free: 336 kB / 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.0009344/0.0009344, allocations: 94.38 kB / 35.33 MB, free: 0.9297 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.001339/0.001339, allocations: 166 kB / 38.73 MB, free: 2.375 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.9596/0.9596, 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.004125/0.004125, allocations: 0.8255 MB / 276.5 MB, free: 0.7305 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.72/1.72, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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 3.727e-06/3.727e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.243e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002517/0.00255, allocations: 0.7913 MB / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.004285, allocations: 1.135 MB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.004361, allocations: 0 / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 5.327e-05/0.004415, allocations: 3.938 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.004528, allocations: 15.86 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.004912, allocations: 51.77 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.00508, allocations: 71.77 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.005217, allocations: 20.11 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.005342, allocations: 43.89 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.005403, allocations: 31.91 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.005423, allocations: 4 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.061e-05/0.005504, allocations: 15.98 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.00553, allocations: 23.91 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.005561, allocations: 12 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.005735, allocations: 63.73 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.005738, allocations: 0 / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.413e-06/0.00574, allocations: 0 / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.005744, allocations: 0 / 0.6401 GB, free: 11.76 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.0003996/0.006143, allocations: 280.3 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.006196, allocations: 15.98 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.006241, allocations: 12.92 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.006376, allocations: 113.7 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.006396, allocations: 8.312 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.006412, allocations: 8.375 kB / 0.6406 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.006561, allocations: 66.88 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.006569, allocations: 192 / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.006579, allocations: 4.359 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.006587, allocations: 12.06 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.619e-05/0.006613, allocations: 4 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.007056, allocations: 196.1 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.007169, allocations: 34.56 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.381e-05/0.007192, allocations: 8.859 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.007214, allocations: 0 / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.007318, allocations: 71.47 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.00732, allocations: 0 / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0002062/0.007526, allocations: 53.69 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.007574, allocations: 55.39 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.007669, allocations: 122.7 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.007686, allocations: 33.7 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.007761, allocations: 100.1 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.007784, allocations: 11.84 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.007837, allocations: 41.62 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0003223/0.00816, allocations: 314.8 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.008189, allocations: 11.98 kB / 0.6417 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.008234, allocations: 49.98 kB / 0.6417 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.315e-05/0.008317, allocations: 69.94 kB / 0.6418 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.00832, allocations: 0 / 0.6418 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001412/0.008461, allocations: 81.47 kB / 0.6418 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.008486, allocations: 11.94 kB / 0.6419 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.008492, allocations: 0 / 0.6419 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.008516, allocations: 4.219 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.008646, allocations: 19.98 kB / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.008652, allocations: 11.88 kB / 0.6419 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.008707, allocations: 8 kB / 0.6419 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.008719, allocations: 4 kB / 0.6419 GB, free: 9.754 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 8.646e-05/0.008806, allocations: 117.8 kB / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.008822, allocations: 7.938 kB / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.008853, allocations: 8.438 kB / 0.642 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.008857, allocations: 4 kB / 0.642 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.00886, allocations: 4 kB / 0.642 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.008864, allocations: 7.984 kB / 0.642 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.009156, allocations: 214.7 kB / 0.6422 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.00916, allocations: 3.938 kB / 0.6423 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.009202, allocations: 11.98 kB / 0.6423 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.009205, allocations: 0 / 0.6423 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.009212, allocations: 4 kB / 0.6423 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.009214, allocations: 0 / 0.6423 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.009215, allocations: 0 / 0.6423 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.009332, allocations: 151.5 kB / 0.6424 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.009344, allocations: 11.89 kB / 0.6424 GB, free: 9.168 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.009356, allocations: 0 / 0.6424 GB, free: 9.168 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/0.00942, allocations: 8 kB / 0.6424 GB, free: 9.16 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.009463, allocations: 11.98 kB / 0.6424 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.00947, allocations: 0 / 0.6424 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.157e-05/0.009501, allocations: 21.48 kB / 0.6425 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009501, allocations: 0 / 0.6425 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002441/0.009746, allocations: 16 kB / 0.6425 GB, free: 9.109 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.0001506/0.009896, allocations: 80.42 kB / 0.6426 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.01003, allocations: 49.41 kB / 0.6426 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.01003, allocations: 4.062 kB / 0.6426 GB, free: 8.969 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.01008, allocations: 20.86 kB / 0.6426 GB, free: 8.945 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.01031, allocations: 12.55 kB / 0.6426 GB, free: 8.934 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.0107, allocations: 161.1 kB / 0.6428 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.427e-05/0.01075, allocations: 59.34 kB / 0.6428 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.628e-05/0.01078, allocations: 7.938 kB / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.01085, allocations: 63.38 kB / 0.6429 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of SimCode: time 1.312e-06/0.01085, allocations: 0 / 0.6429 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of Templates: time 0.003959/0.01481, allocations: 1.083 MB / 0.644 GB, free: 7.52 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.334487812593579]