Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0006801/0.0006801, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009695/0.00165, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 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.0007003/0.0007003, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002212, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.9729/0.9729, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09085/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8127/0.8127, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2636/1.076, allocations: 49.13 MB / 448.6 MB, free: 5.906 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0.5469 kB / 449.9 MB, free: 4.609 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.35e-05, allocations: 4.562 kB / 449.9 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002074/0.002097, allocations: 0.7876 MB / 450.7 MB, free: 3.852 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.003506, allocations: 1.128 MB / 451.9 MB, free: 2.711 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.003553, allocations: 0 / 451.9 MB, free: 2.711 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.003586, allocations: 7.875 kB / 451.9 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.756e-05/0.003644, allocations: 8.922 kB / 451.9 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.003889, allocations: 56.34 kB / 451.9 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.004016, allocations: 76.98 kB / 452 MB, free: 2.582 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.004124, allocations: 14.8 kB / 452 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.004243, allocations: 54.83 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.004303, allocations: 26.27 kB / 452.1 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.004321, allocations: 5.094 kB / 452.1 MB, free: 2.492 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.004406, allocations: 15.98 kB / 452.1 MB, free: 2.477 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.004433, allocations: 15.7 kB / 452.1 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.004467, allocations: 14.41 kB / 452.1 MB, free: 2.453 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.004614, allocations: 51.81 kB / 452.2 MB, free: 2.402 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.004626, allocations: 3.938 kB / 452.2 MB, free: 2.398 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004627, allocations: 0.5938 kB / 452.2 MB, free: 2.398 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.004638, allocations: 0 / 452.2 MB, free: 2.398 MB / 426.7 MB 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.0005015/0.005139, allocations: 295 kB / 452.5 MB, free: 2.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.005177, allocations: 9.938 kB / 452.5 MB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.005218, allocations: 8.938 kB / 452.5 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.00534, allocations: 125.7 kB / 452.6 MB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.005352, allocations: 4.375 kB / 452.6 MB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.005368, allocations: 4.375 kB / 452.6 MB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.005511, allocations: 65.03 kB / 452.7 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.005522, allocations: 1.219 kB / 452.7 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.005531, allocations: 4.375 kB / 452.7 MB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.005539, allocations: 4.125 kB / 452.7 MB, free: 1.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.107e-05/0.00557, allocations: 19.86 kB / 452.7 MB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.006009, allocations: 185.1 kB / 452.9 MB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.006108, allocations: 31.61 kB / 452.9 MB, free: 1.586 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.006132, allocations: 16.83 kB / 453 MB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.006154, allocations: 1.766 kB / 453 MB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.006268, allocations: 67.41 kB / 453 MB, free: 1.488 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.00627, allocations: 0.5 kB / 453 MB, free: 1.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001616/0.006432, allocations: 54.19 kB / 453.1 MB, free: 1.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.006485, allocations: 56.62 kB / 453.1 MB, free: 1.363 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.851e-05/0.006584, allocations: 130.7 kB / 453.3 MB, free: 1.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.006601, allocations: 25.7 kB / 453.3 MB, free: 1.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.006657, allocations: 92.08 kB / 453.4 MB, free: 1.098 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.006691, allocations: 24.56 kB / 453.4 MB, free: 1.074 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.006742, allocations: 25.7 kB / 453.4 MB, free: 1.043 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.006845, allocations: 320.7 kB / 453.7 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-05/0.006876, allocations: 11.98 kB / 453.8 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.311e-05/0.006929, allocations: 52.62 kB / 453.8 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.993e-05/0.007029, allocations: 79.66 kB / 453.9 MB, free: 0.543 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.007031, allocations: 1.375 kB / 453.9 MB, free: 0.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001481/0.00718, allocations: 74.61 kB / 454 MB, free: 476 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.007199, allocations: 7.938 kB / 454 MB, free: 468 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.007205, allocations: 0.7188 kB / 454 MB, free: 468 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.007224, allocations: 7.984 kB / 454 MB, free: 460 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.007362, allocations: 28.83 kB / 454 MB, free: 432 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.007368, allocations: 4 kB / 454 MB, free: 428 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.007429, allocations: 8.531 kB / 454 MB, free: 420 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.007443, allocations: 5.438 kB / 454 MB, free: 416 kB / 426.7 MB 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 9.5e-05/0.007538, allocations: 119 kB / 454.1 MB, free: 288 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.007555, allocations: 7.938 kB / 454.1 MB, free: 280 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.007584, allocations: 9.219 kB / 454.2 MB, free: 272 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.007587, allocations: 0 / 454.2 MB, free: 272 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.007589, allocations: 3.938 kB / 454.2 MB, free: 268 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.007594, allocations: 1.438 kB / 454.2 MB, free: 268 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.007869, allocations: 219.1 kB / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.007872, allocations: 3.938 kB / 454.4 MB, free: 20 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.007919, allocations: 8.781 kB / 454.4 MB, free: 12 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.007932, allocations: 11.94 kB / 454.4 MB, free: 0 / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.007936, allocations: 0.6562 kB / 454.4 MB, free: 0 / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.007942, allocations: 0 / 454.4 MB, free: 0 / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.011e-05/0.007962, allocations: 8.906 kB / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.007966, allocations: 4 kB / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.008098, allocations: 148 kB / 454.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.008113, allocations: 4.625 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.00818, allocations: 5.5 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.008215, allocations: 7.922 kB / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.008223, allocations: 4 kB / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.008255, allocations: 20.83 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008255, allocations: 0.6562 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000248/0.008503, allocations: 19.94 kB / 454.6 MB, free: 15.77 MB / 442.7 MB 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.000177/0.00868, allocations: 85.27 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.008806, allocations: 46.58 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.008813, allocations: 0.5938 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.58e-05/0.008869, allocations: 24.78 kB / 454.8 MB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.009139, allocations: 102.2 kB / 454.9 MB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.009716, allocations: 154.3 kB / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.009763, allocations: 63.83 kB / 455.1 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.774e-05/0.009801, allocations: 15.08 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.009875, allocations: 60.58 kB / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.009876, allocations: 0 / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of Templates: time 0.003978/0.01385, allocations: 1.065 MB / 456.2 MB, free: 14.18 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4520820509642363]