Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001071/0.001071, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00184/0.00184, allocations: 173 kB / 23.36 MB, free: 1.133 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.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8142/0.8142, allocations: 154.9 MB / 415.1 MB, free: 256 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 480.4 MB, free: 6.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.444e-05, allocations: 4.422 kB / 480.4 MB, free: 6.566 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001769/0.001793, allocations: 0.7778 MB / 481.2 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.003148, allocations: 1.231 MB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.003197, allocations: 0.625 kB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.003225, allocations: 5.625 kB / 482.4 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.656e-05/0.003302, allocations: 19.97 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.00371, allocations: 134 kB / 482.5 MB, free: 4.445 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.003865, allocations: 133.4 kB / 482.7 MB, free: 4.328 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.086e-05/0.003946, allocations: 12.17 kB / 482.7 MB, free: 4.312 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.004052, allocations: 77.62 kB / 482.8 MB, free: 4.238 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.004124, allocations: 39.92 kB / 482.8 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.004146, allocations: 16.84 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-05/0.004221, allocations: 20 kB / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.004242, allocations: 19.92 kB / 482.9 MB, free: 4.145 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.004283, allocations: 41.08 kB / 482.9 MB, free: 4.105 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.004418, allocations: 99.75 kB / 483 MB, free: 4.008 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00442, allocations: 0 / 483 MB, free: 4.008 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004421, allocations: 0.6875 kB / 483 MB, free: 4.008 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.004424, allocations: 0 / 483 MB, free: 4.008 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003292/0.004754, allocations: 322 kB / 483.3 MB, free: 3.668 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.004784, allocations: 8.656 kB / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.755e-05/0.004881, allocations: 16.86 kB / 483.3 MB, free: 3.645 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.048e-05/0.004972, allocations: 125.8 kB / 483.5 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.004986, allocations: 9.297 kB / 483.5 MB, free: 3.492 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.005, allocations: 4.375 kB / 483.5 MB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.005132, allocations: 66.94 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.00514, allocations: 1.719 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.005153, allocations: 8.359 kB / 483.5 MB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.005161, allocations: 12.06 kB / 483.6 MB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.005193, allocations: 10.77 kB / 483.6 MB, free: 3.387 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.005532, allocations: 193.1 kB / 483.8 MB, free: 3.184 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.929e-05/0.005611, allocations: 35.59 kB / 483.8 MB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.005629, allocations: 12.98 kB / 483.8 MB, free: 3.125 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.005644, allocations: 4.625 kB / 483.8 MB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.95e-05/0.005744, allocations: 68.61 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.005746, allocations: 0 / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001393/0.005885, allocations: 69.61 kB / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.005925, allocations: 68.03 kB / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.58e-05/0.006001, allocations: 118.6 kB / 484.1 MB, free: 2.762 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.006021, allocations: 30.92 kB / 484.2 MB, free: 2.727 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.006072, allocations: 100.1 kB / 484.3 MB, free: 2.625 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.006095, allocations: 19.83 kB / 484.3 MB, free: 2.605 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.00615, allocations: 34.77 kB / 484.3 MB, free: 2.566 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.006245, allocations: 322.8 kB / 484.6 MB, free: 2.242 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.006306, allocations: 53.69 kB / 484.7 MB, free: 2.184 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.006375, allocations: 95.72 kB / 484.8 MB, free: 2.066 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.006481, allocations: 108 kB / 484.9 MB, free: 1.938 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.006484, allocations: 1.438 kB / 484.9 MB, free: 1.938 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001641/0.006648, allocations: 177.6 kB / 485 MB, free: 1.746 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.006677, allocations: 33.7 kB / 485.1 MB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.006683, allocations: 5.438 kB / 485.1 MB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.006693, allocations: 0 / 485.1 MB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.006769, allocations: 19.98 kB / 485.1 MB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.006775, allocations: 7.938 kB / 485.1 MB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.4e-05/0.006859, allocations: 29.64 kB / 485.1 MB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.006873, allocations: 4 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 7.572e-05/0.006949, allocations: 121.6 kB / 485.3 MB, free: 1.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.006961, allocations: 11.92 kB / 485.3 MB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.194e-05/0.007053, allocations: 67.03 kB / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.007055, allocations: 0 / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.007057, allocations: 4.562 kB / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.00706, allocations: 0 / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.00721, allocations: 219.4 kB / 485.6 MB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.007214, allocations: 4.594 kB / 485.6 MB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.007247, allocations: 7.938 kB / 485.6 MB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007249, allocations: 1.438 kB / 485.6 MB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.007256, allocations: 7.984 kB / 485.6 MB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.007258, allocations: 0 / 485.6 MB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007259, allocations: 0 / 485.6 MB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.472e-05/0.007344, allocations: 163.9 kB / 485.7 MB, free: 1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.007354, allocations: 12.77 kB / 485.8 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.007364, allocations: 0 / 485.8 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.736e-05/0.007401, allocations: 8.703 kB / 485.8 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.007427, allocations: 4 kB / 485.8 MB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.007434, allocations: 9.016 kB / 485.8 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.692e-05/0.007451, allocations: 12.86 kB / 485.8 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.007451, allocations: 0 / 485.8 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.007604, allocations: 20.53 kB / 485.8 MB, free: 0.9336 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.772e-05/0.007701, allocations: 95.41 kB / 485.9 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.007848, allocations: 149.8 kB / 486 MB, free: 0.668 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.007851, allocations: 8.75 kB / 486.1 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.713e-05/0.007879, allocations: 16.86 kB / 486.1 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.00802, allocations: 17.52 kB / 486.1 MB, free: 0.625 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.008432, allocations: 175.1 kB / 486.3 MB, free: 436 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.476e-05/0.008466, allocations: 59.36 kB / 486.3 MB, free: 356 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.602e-05/0.008492, allocations: 10.39 kB / 486.3 MB, free: 348 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.008569, allocations: 72.7 kB / 486.4 MB, free: 276 kB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.00857, allocations: 0 / 486.4 MB, free: 276 kB / 442.7 MB Notification: Performance of Templates: time 0.003085/0.01165, allocations: 1.629 MB / 488 MB, free: 14.76 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5725251669064164]