Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001023/0.001023, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002419, allocations: 440 kB / 10.41 MB, free: 284 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.001068/0.001068, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002441, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9868/0.9868, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.102/1.089, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.792/0.792, 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.2588/1.051, allocations: 49.13 MB / 448.6 MB, free: 5.922 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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.22e-07/8.22e-07, allocations: 0 / 449.9 MB, free: 4.625 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.416e-06/9.238e-06, allocations: 11.23 kB / 450 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001174/0.001183, allocations: 0.7875 MB / 450.7 MB, free: 3.863 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008767/0.00206, allocations: 1.128 MB / 451.9 MB, free: 2.723 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.002088, allocations: 0.5469 kB / 451.9 MB, free: 2.723 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.002109, allocations: 7.875 kB / 451.9 MB, free: 2.715 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.002143, allocations: 12.53 kB / 451.9 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.00232, allocations: 57.16 kB / 451.9 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.424e-05/0.002404, allocations: 72.53 kB / 452 MB, free: 2.598 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.67e-05/0.002461, allocations: 12.94 kB / 452 MB, free: 2.582 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.002535, allocations: 56.09 kB / 452.1 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.766e-05/0.002573, allocations: 21.94 kB / 452.1 MB, free: 2.512 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.002585, allocations: 9.391 kB / 452.1 MB, free: 2.504 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.642e-05/0.002631, allocations: 19.98 kB / 452.1 MB, free: 2.484 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.002649, allocations: 12.64 kB / 452.1 MB, free: 2.477 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.002668, allocations: 14.84 kB / 452.2 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.962e-05/0.002758, allocations: 57.78 kB / 452.2 MB, free: 2.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.002765, allocations: 0 / 452.2 MB, free: 2.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002766, allocations: 0 / 452.2 MB, free: 2.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.002772, allocations: 1 kB / 452.2 MB, free: 2.41 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.0003119/0.003084, allocations: 290.4 kB / 452.5 MB, free: 2.105 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.488e-05/0.003109, allocations: 8.906 kB / 452.5 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.003137, allocations: 8.938 kB / 452.5 MB, free: 2.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.007e-05/0.003217, allocations: 122.2 kB / 452.6 MB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.003226, allocations: 4.375 kB / 452.6 MB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.003238, allocations: 8.875 kB / 452.6 MB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.35e-05/0.003322, allocations: 64.22 kB / 452.7 MB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.003328, allocations: 192 / 452.7 MB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-06/0.003333, allocations: 384 / 452.7 MB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.003339, allocations: 4.812 kB / 452.7 MB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.003358, allocations: 15.88 kB / 452.7 MB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.003602, allocations: 190.2 kB / 452.9 MB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.619e-05/0.003658, allocations: 34.59 kB / 453 MB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.003672, allocations: 8.859 kB / 453 MB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.003685, allocations: 4.562 kB / 453 MB, free: 1.586 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.477e-05/0.00375, allocations: 65.28 kB / 453 MB, free: 1.512 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.003751, allocations: 0 / 453 MB, free: 1.512 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 9.927e-05/0.00385, allocations: 71.25 kB / 453.1 MB, free: 1.438 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.003881, allocations: 55.41 kB / 453.2 MB, free: 1.371 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.003945, allocations: 120.3 kB / 453.3 MB, free: 1.242 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.003957, allocations: 33.7 kB / 453.3 MB, free: 1.203 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.00399, allocations: 89.52 kB / 453.4 MB, free: 1.113 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.004004, allocations: 15.89 kB / 453.4 MB, free: 1.098 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.004033, allocations: 25.7 kB / 453.4 MB, free: 1.066 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.004105, allocations: 326.8 kB / 453.7 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.004119, allocations: 4.844 kB / 453.8 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.004153, allocations: 53.98 kB / 453.8 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.864e-05/0.004212, allocations: 77.47 kB / 453.9 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.004214, allocations: 0 / 453.9 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.6e-05/0.00429, allocations: 79.64 kB / 454 MB, free: 496 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.004299, allocations: 7.938 kB / 454 MB, free: 488 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.004303, allocations: 4 kB / 454 MB, free: 484 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.004314, allocations: 0 / 454 MB, free: 484 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.004389, allocations: 28.81 kB / 454 MB, free: 456 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.004393, allocations: 4 kB / 454 MB, free: 452 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.004423, allocations: 12.84 kB / 454 MB, free: 440 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.004431, allocations: 4 kB / 454 MB, free: 436 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 5.295e-05/0.004484, allocations: 115 kB / 454.1 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-06/0.004493, allocations: 11.92 kB / 454.1 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.666e-05/0.00451, allocations: 8.375 kB / 454.2 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.004511, allocations: 8.562 kB / 454.2 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.004513, allocations: 1.781 kB / 454.2 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.004517, allocations: 0.5938 kB / 454.2 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.004665, allocations: 215.7 kB / 454.4 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.004667, allocations: 7.938 kB / 454.4 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.919e-05/0.004686, allocations: 8.469 kB / 454.4 MB, free: 28 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.004692, allocations: 4.516 kB / 454.4 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.004696, allocations: 11.98 kB / 454.4 MB, free: 12 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.004702, allocations: 4.625 kB / 454.4 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004702, allocations: 0.8125 kB / 454.4 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004703, allocations: 80 / 454.4 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.017e-05/0.004783, allocations: 147.5 kB / 454.6 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.004792, allocations: 5.203 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.984e-05/0.004822, allocations: 4 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.004846, allocations: 11.98 kB / 454.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.004849, allocations: 0.7188 kB / 454.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.648e-05/0.004865, allocations: 23.78 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004865, allocations: 0.9062 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.005002, allocations: 15.94 kB / 454.6 MB, free: 15.79 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 8.632e-05/0.005088, allocations: 93.36 kB / 454.7 MB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.301e-05/0.005162, allocations: 46.69 kB / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.005165, allocations: 0 / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.649e-05/0.005191, allocations: 21.3 kB / 454.8 MB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.005332, allocations: 102.4 kB / 454.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.00564, allocations: 161 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.05e-05/0.00567, allocations: 65.2 kB / 455.1 MB, free: 15.24 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.314e-05/0.005693, allocations: 10.27 kB / 455.1 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.005742, allocations: 64.08 kB / 455.2 MB, free: 15.17 MB / 442.7 MB Notification: Performance of SimCode: time 2.9e-07/0.005743, allocations: 0.9062 kB / 455.2 MB, free: 15.17 MB / 442.7 MB Notification: Performance of Templates: time 0.002327/0.00807, allocations: 1.063 MB / 456.2 MB, free: 14.21 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.508414595387876]