Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.0009816/0.0009816, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009683/0.0009683, allocations: 177 kB / 23.36 MB, free: 1.129 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.9532/0.9532, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8264/0.8264, allocations: 154.9 MB / 415.1 MB, free: 228 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.589e-05, allocations: 2.312 kB / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001231/0.001247, allocations: 0.7287 MB / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.002305, allocations: 1.136 MB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.002353, allocations: 0.625 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.002384, allocations: 7.875 kB / 482.2 MB, free: 4.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.389e-05/0.002468, allocations: 13.41 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.002733, allocations: 60.81 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.002848, allocations: 68.44 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.703e-05/0.002935, allocations: 15.45 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.817e-05/0.003023, allocations: 46.58 kB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.003068, allocations: 24.78 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.003084, allocations: 8 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.173e-05/0.003136, allocations: 24.59 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.003157, allocations: 11.94 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.003181, allocations: 21.56 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.818e-05/0.003279, allocations: 63.8 kB / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003281, allocations: 0 / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.9e-07/0.003282, allocations: 0 / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.515e-06/0.003284, allocations: 0.8125 kB / 482.6 MB, free: 4.352 MB / 442.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.0003073/0.003591, allocations: 275.8 kB / 482.9 MB, free: 4.062 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.003619, allocations: 9.062 kB / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.003644, allocations: 4.938 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.162e-05/0.003736, allocations: 129.3 kB / 483 MB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.003746, allocations: 1.844 kB / 483 MB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.003761, allocations: 8.375 kB / 483 MB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/0.00386, allocations: 72.88 kB / 483.1 MB, free: 3.816 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.003868, allocations: 192 / 483.1 MB, free: 3.816 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.003874, allocations: 4.312 kB / 483.1 MB, free: 3.812 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.003881, allocations: 4.125 kB / 483.1 MB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.242e-05/0.003903, allocations: 19.39 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.004183, allocations: 181.8 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.305e-05/0.004246, allocations: 34.56 kB / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.00426, allocations: 10.27 kB / 483.3 MB, free: 3.547 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.004276, allocations: 11.92 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/0.004333, allocations: 55.47 kB / 483.4 MB, free: 3.469 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.004334, allocations: 0.6875 kB / 483.4 MB, free: 3.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001088/0.004443, allocations: 62.28 kB / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.004486, allocations: 51.41 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/0.004553, allocations: 127.2 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.004564, allocations: 29.7 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.004599, allocations: 96.64 kB / 483.8 MB, free: 3.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.004616, allocations: 20.5 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.004651, allocations: 29.7 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.004733, allocations: 319.5 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/0.004748, allocations: 4 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.003e-05/0.004788, allocations: 54.61 kB / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.155e-05/0.00486, allocations: 76.38 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.004862, allocations: 0.9062 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.543e-05/0.004948, allocations: 78.55 kB / 484.3 MB, free: 2.441 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.00496, allocations: 8.469 kB / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.004966, allocations: 9.312 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.004979, allocations: 0 / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.005054, allocations: 23.86 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.005059, allocations: 7.984 kB / 484.4 MB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.005091, allocations: 8.656 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.0051, allocations: 5.219 kB / 484.4 MB, free: 2.383 MB / 442.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 6.188e-05/0.005162, allocations: 119.5 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.005172, allocations: 11.92 kB / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.005193, allocations: 13.5 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005195, allocations: 0 / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.005196, allocations: 1.125 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.005199, allocations: 0 / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.005377, allocations: 219 kB / 484.8 MB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.00538, allocations: 4.438 kB / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.005398, allocations: 4 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.005399, allocations: 0.6875 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.005404, allocations: 4.719 kB / 484.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.005406, allocations: 0 / 484.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.005406, allocations: 5.938 kB / 484.8 MB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.298e-05/0.005479, allocations: 147.6 kB / 484.9 MB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.005487, allocations: 11.89 kB / 484.9 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-06/0.005495, allocations: 0 / 484.9 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.367e-05/0.005529, allocations: 7.984 kB / 484.9 MB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.005554, allocations: 8 kB / 484.9 MB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.005558, allocations: 4.484 kB / 484.9 MB, free: 1.789 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.483e-05/0.005573, allocations: 17.38 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005573, allocations: 0.7188 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.00572, allocations: 16 kB / 485 MB, free: 1.754 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 9.279e-05/0.005813, allocations: 95.31 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.888e-05/0.005892, allocations: 41.98 kB / 485.1 MB, free: 1.613 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.005894, allocations: 0 / 485.1 MB, free: 1.613 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.005924, allocations: 26.28 kB / 485.1 MB, free: 1.586 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.006054, allocations: 18.69 kB / 485.2 MB, free: 1.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005014/0.006555, allocations: 151.5 kB / 485.3 MB, free: 1.391 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.209e-05/0.006588, allocations: 67.22 kB / 485.4 MB, free: 1.305 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.158e-05/0.006609, allocations: 8.594 kB / 485.4 MB, free: 1.297 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.006657, allocations: 59.36 kB / 485.4 MB, free: 1.238 MB / 442.7 MB Notification: Performance of SimCode: time 4.2e-07/0.006657, allocations: 1.031 kB / 485.4 MB, free: 1.238 MB / 442.7 MB Notification: Performance of Templates: time 0.002454/0.009111, allocations: 1.061 MB / 486.5 MB, free: 300 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6331582558341324]