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.001209/0.001209, allocations: 80.88 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.001107/0.001107, allocations: 181 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 0.959/0.959, 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.8365/0.8365, allocations: 154.9 MB / 415.1 MB, free: 224 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.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 4.168e-06/4.168e-06, allocations: 4 kB / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/3.051e-05, allocations: 2.312 kB / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002024/0.002055, allocations: 0.7413 MB / 481.1 MB, free: 5.805 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003152, allocations: 1.128 MB / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.003195, allocations: 0 / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.003225, allocations: 7.922 kB / 482.2 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/0.003301, allocations: 13.83 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.003566, allocations: 57.02 kB / 482.3 MB, free: 4.602 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.003669, allocations: 82.09 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.003751, allocations: 9.312 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.003837, allocations: 51.59 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.462e-05/0.003882, allocations: 20.8 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.003896, allocations: 4 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.076e-05/0.003947, allocations: 16.7 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.003973, allocations: 25.34 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.003996, allocations: 15.98 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.004104, allocations: 67.72 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.004106, allocations: 0 / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004107, allocations: 0.5938 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.004111, allocations: 0 / 482.6 MB, free: 4.332 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.0003345/0.004445, allocations: 273.5 kB / 482.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.004476, allocations: 16.02 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.004503, allocations: 4.938 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.794e-05/0.004581, allocations: 113.7 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.004592, allocations: 5.094 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.004605, allocations: 12.31 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.662e-05/0.004701, allocations: 67.92 kB / 483.1 MB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.004708, allocations: 4.125 kB / 483.1 MB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.004716, allocations: 5 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.004723, allocations: 8.125 kB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.942e-05/0.004743, allocations: 6.094 kB / 483.1 MB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.005041, allocations: 189.1 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.277e-05/0.005124, allocations: 34.56 kB / 483.3 MB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.005139, allocations: 10.36 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.005155, allocations: 0 / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.672e-05/0.005222, allocations: 67.34 kB / 483.4 MB, free: 3.449 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.005223, allocations: 0 / 483.4 MB, free: 3.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.000108/0.005331, allocations: 63.17 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.005372, allocations: 51.41 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.683e-05/0.005439, allocations: 122.7 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.005454, allocations: 29.7 kB / 483.7 MB, free: 3.152 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.005504, allocations: 100.6 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.00552, allocations: 12.52 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.005559, allocations: 29.7 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.005642, allocations: 319.4 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.00566, allocations: 11.94 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.336e-05/0.005703, allocations: 54.61 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/0.005765, allocations: 68.75 kB / 484.2 MB, free: 2.512 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.005767, allocations: 0 / 484.2 MB, free: 2.512 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.354e-05/0.00585, allocations: 83.16 kB / 484.3 MB, free: 2.426 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.005865, allocations: 12.84 kB / 484.3 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.005869, allocations: 0 / 484.3 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.005884, allocations: 14.44 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.005966, allocations: 15.98 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.005972, allocations: 7.938 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.006, allocations: 4.531 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.006013, allocations: 13.3 kB / 484.4 MB, free: 2.363 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.169e-05/0.006074, allocations: 119.6 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.006085, allocations: 11.94 kB / 484.5 MB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.006105, allocations: 5.094 kB / 484.5 MB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.006108, allocations: 5.203 kB / 484.5 MB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.006112, allocations: 4 kB / 484.5 MB, free: 2.215 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006115, allocations: 0 / 484.5 MB, free: 2.215 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.0063, allocations: 215 kB / 484.7 MB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.006302, allocations: 5 kB / 484.8 MB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.006324, allocations: 7.984 kB / 484.8 MB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006325, allocations: 1.156 kB / 484.8 MB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.006331, allocations: 4 kB / 484.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006332, allocations: 0 / 484.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006333, allocations: 1.688 kB / 484.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.723e-05/0.00642, allocations: 156.1 kB / 484.9 MB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.006428, allocations: 11.89 kB / 484.9 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-06/0.006436, allocations: 0 / 484.9 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.026e-05/0.006466, allocations: 4 kB / 484.9 MB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.006492, allocations: 8.609 kB / 484.9 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.006496, allocations: 5.938 kB / 484.9 MB, free: 1.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.626e-05/0.006512, allocations: 20.83 kB / 485 MB, free: 1.746 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006512, allocations: 0 / 485 MB, free: 1.746 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001329/0.006645, allocations: 12 kB / 485 MB, free: 1.734 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.0001015/0.006746, allocations: 90.02 kB / 485.1 MB, free: 1.641 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.321e-05/0.006819, allocations: 44.97 kB / 485.1 MB, free: 1.598 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.006823, allocations: 4 kB / 485.1 MB, free: 1.594 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.006849, allocations: 16.84 kB / 485.1 MB, free: 1.574 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.00698, allocations: 20.55 kB / 485.2 MB, free: 1.555 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.007213, allocations: 151.7 kB / 485.3 MB, free: 1.375 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.879e-05/0.007252, allocations: 64.09 kB / 485.4 MB, free: 1.293 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.011e-05/0.007272, allocations: 4 kB / 485.4 MB, free: 1.289 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.00732, allocations: 64.05 kB / 485.4 MB, free: 1.227 MB / 442.7 MB Notification: Performance of SimCode: time 3.81e-07/0.007321, allocations: 0 / 485.4 MB, free: 1.227 MB / 442.7 MB Notification: Performance of Templates: time 0.002699/0.01002, allocations: 1.054 MB / 486.5 MB, free: 264 kB / 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.6676237508654594]