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.001068/0.001068, 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.001234/0.001234, 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 1.046/1.046, allocations: 177.1 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.8456/0.8456, allocations: 154.9 MB / 415.1 MB, free: 232 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.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 1.824e-06/1.824e-06, allocations: 0 / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.139e-05, allocations: 4.828 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00191/0.001931, allocations: 0.7752 MB / 481.2 MB, free: 5.738 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.003695, allocations: 1.138 MB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.003744, allocations: 0 / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.003775, allocations: 3.938 kB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.636e-05/0.003861, allocations: 16.27 kB / 482.4 MB, free: 4.582 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.004138, allocations: 53.03 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.004261, allocations: 76.75 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.004358, allocations: 14.11 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.004468, allocations: 42.64 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.004526, allocations: 24.58 kB / 482.6 MB, free: 4.391 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.004545, allocations: 8 kB / 482.6 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.716e-05/0.004622, allocations: 21.45 kB / 482.6 MB, free: 4.363 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.004645, allocations: 15.92 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.004679, allocations: 19.98 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.004808, allocations: 63.73 kB / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.00481, allocations: 2.125 kB / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004811, allocations: 0 / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.004815, allocations: 0 / 482.7 MB, free: 4.266 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.0004121/0.005227, allocations: 279.7 kB / 483 MB, free: 3.973 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.005268, allocations: 8.031 kB / 483 MB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.005317, allocations: 13.8 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.005426, allocations: 120.2 kB / 483.1 MB, free: 3.816 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.005441, allocations: 8.375 kB / 483.1 MB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.005455, allocations: 9.469 kB / 483.1 MB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.005577, allocations: 66.88 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.005585, allocations: 0.75 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.005593, allocations: 384 / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.005601, allocations: 8.719 kB / 483.2 MB, free: 3.719 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.005628, allocations: 12.64 kB / 483.2 MB, free: 3.707 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.006008, allocations: 188.8 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.92e-05/0.006087, allocations: 27.2 kB / 483.4 MB, free: 3.473 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.006108, allocations: 13.47 kB / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.006127, allocations: 4.125 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.498e-05/0.006212, allocations: 68.06 kB / 483.5 MB, free: 3.375 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.006213, allocations: 0.5312 kB / 483.5 MB, free: 3.375 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001269/0.00634, allocations: 53.69 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.006378, allocations: 56.5 kB / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.006443, allocations: 126.7 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.006455, allocations: 25.7 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.00649, allocations: 96.86 kB / 483.9 MB, free: 2.984 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.006508, allocations: 19.89 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.006544, allocations: 30.59 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.006623, allocations: 318.8 kB / 484.2 MB, free: 2.609 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.006641, allocations: 12.92 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.702e-05/0.006679, allocations: 53.94 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.388e-05/0.006742, allocations: 73.23 kB / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006744, allocations: 0 / 484.3 MB, free: 2.434 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.581e-05/0.00683, allocations: 78.55 kB / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.006841, allocations: 8.531 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.006847, allocations: 7.984 kB / 484.4 MB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.006858, allocations: 0.9062 kB / 484.4 MB, free: 2.336 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.006942, allocations: 23.98 kB / 484.5 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.006948, allocations: 8.812 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.006978, allocations: 4 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.006987, allocations: 5.031 kB / 484.5 MB, free: 2.297 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.034e-05/0.007047, allocations: 119.5 kB / 484.6 MB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.007059, allocations: 12.67 kB / 484.6 MB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.007084, allocations: 9.375 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007086, allocations: 1.812 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.007087, allocations: 0 / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007091, allocations: 0 / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.007275, allocations: 227 kB / 484.8 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.007278, allocations: 3.938 kB / 484.8 MB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.0073, allocations: 4.656 kB / 484.9 MB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007302, allocations: 0.7188 kB / 484.9 MB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.007308, allocations: 7.984 kB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.007314, allocations: 1.344 kB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007315, allocations: 0 / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.007423, allocations: 147.5 kB / 485 MB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.007437, allocations: 16.44 kB / 485 MB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.007448, allocations: 8.531 kB / 485 MB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.007496, allocations: 4.594 kB / 485 MB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.007525, allocations: 3.984 kB / 485 MB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.007529, allocations: 5.438 kB / 485 MB, free: 1.695 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.655e-05/0.007556, allocations: 20.78 kB / 485.1 MB, free: 1.672 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007556, allocations: 0 / 485.1 MB, free: 1.672 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.0077, allocations: 16 kB / 485.1 MB, free: 1.656 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.0001123/0.007812, allocations: 90.25 kB / 485.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.822e-05/0.0079, allocations: 49.45 kB / 485.2 MB, free: 1.512 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.007903, allocations: 0 / 485.2 MB, free: 1.512 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.007932, allocations: 17.45 kB / 485.2 MB, free: 1.492 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.008078, allocations: 25.23 kB / 485.3 MB, free: 1.473 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.008322, allocations: 155.6 kB / 485.4 MB, free: 1.289 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.14e-05/0.008354, allocations: 55.36 kB / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.577e-05/0.008379, allocations: 11.86 kB / 485.5 MB, free: 1.207 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.008429, allocations: 55.38 kB / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.00843, allocations: 5.812 kB / 485.5 MB, free: 1.148 MB / 442.7 MB Notification: Performance of Templates: time 0.002782/0.01121, allocations: 1.061 MB / 486.6 MB, free: 208 kB / 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 -s gbode -gbm=radauIIA3 -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.7132599339820445]