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.0007413/0.0007413, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001747, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008523/0.0008523, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00112/0.001972, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.044/1.044, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0882/1.132, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.7465/0.7465, allocations: 155.3 MB / 399.2 MB, free: 15.92 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.2786/1.025, allocations: 49.13 MB / 448.4 MB, free: 6.012 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.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 1.863e-06/1.863e-06, allocations: 0 / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.643e-05, allocations: 15.75 kB / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002074/0.002101, allocations: 0.777 MB / 450.5 MB, free: 3.992 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.003161, allocations: 1.128 MB / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.003203, allocations: 0 / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.00323, allocations: 4.688 kB / 451.6 MB, free: 2.848 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.27e-05/0.003283, allocations: 21.44 kB / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.003518, allocations: 52.69 kB / 451.7 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.003634, allocations: 72.42 kB / 451.7 MB, free: 2.723 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.003721, allocations: 17.27 kB / 451.8 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.749e-05/0.003819, allocations: 52.75 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.141e-05/0.00387, allocations: 25.94 kB / 451.8 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.003886, allocations: 4.438 kB / 451.8 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.219e-05/0.003959, allocations: 15.98 kB / 451.9 MB, free: 2.617 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.003974, allocations: 11.94 kB / 451.9 MB, free: 2.605 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.003998, allocations: 20.81 kB / 451.9 MB, free: 2.586 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.004111, allocations: 55.77 kB / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.004126, allocations: 1.281 kB / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004127, allocations: 0 / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.004142, allocations: 0 / 451.9 MB, free: 2.531 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.0003917/0.004534, allocations: 287.2 kB / 452.2 MB, free: 2.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.004564, allocations: 12.03 kB / 452.2 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.004593, allocations: 12.92 kB / 452.3 MB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.609e-05/0.004669, allocations: 111.2 kB / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.004679, allocations: 4.375 kB / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.00469, allocations: 8.312 kB / 452.4 MB, free: 2.062 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.743e-05/0.004788, allocations: 63.56 kB / 452.4 MB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.004796, allocations: 4.172 kB / 452.4 MB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.004803, allocations: 5.781 kB / 452.4 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.004809, allocations: 8.125 kB / 452.5 MB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.004832, allocations: 13.2 kB / 452.5 MB, free: 1.965 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.00513, allocations: 188.7 kB / 452.6 MB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.005205, allocations: 39.45 kB / 452.7 MB, free: 1.719 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.005222, allocations: 8.859 kB / 452.7 MB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.005247, allocations: 0.7188 kB / 452.7 MB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.112e-05/0.005338, allocations: 67.97 kB / 452.8 MB, free: 1.629 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.005339, allocations: 3.938 kB / 452.8 MB, free: 1.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001398/0.005479, allocations: 67.03 kB / 452.8 MB, free: 1.555 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.005519, allocations: 51.41 kB / 452.9 MB, free: 1.492 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.005814, allocations: 118.7 kB / 453 MB, free: 1.363 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.005826, allocations: 26.23 kB / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.005861, allocations: 103.1 kB / 453.1 MB, free: 1.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.005876, allocations: 11.89 kB / 453.1 MB, free: 1.219 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.005908, allocations: 29.7 kB / 453.2 MB, free: 1.184 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.005973, allocations: 318.8 kB / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.005989, allocations: 8 kB / 453.5 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.006023, allocations: 57.92 kB / 453.5 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.022e-05/0.006083, allocations: 71.48 kB / 453.6 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.006086, allocations: 0.875 kB / 453.6 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.471e-05/0.006171, allocations: 82.97 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.006185, allocations: 11.94 kB / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.00619, allocations: 0.5312 kB / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.0062, allocations: 4.656 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.006291, allocations: 20.61 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.006295, allocations: 3.938 kB / 453.7 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.319e-05/0.006339, allocations: 12.48 kB / 453.7 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.006349, allocations: 8.625 kB / 453.8 MB, free: 0.543 MB / 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.982e-05/0.006409, allocations: 111.5 kB / 453.9 MB, free: 436 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.00642, allocations: 15.94 kB / 453.9 MB, free: 420 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.006446, allocations: 13.23 kB / 453.9 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.006447, allocations: 0 / 453.9 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.006449, allocations: 5.719 kB / 453.9 MB, free: 400 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.006452, allocations: 0 / 453.9 MB, free: 400 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.006624, allocations: 219 kB / 454.1 MB, free: 156 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.006626, allocations: 3.938 kB / 454.1 MB, free: 152 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.006652, allocations: 7.984 kB / 454.1 MB, free: 144 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-06/0.00666, allocations: 10.27 kB / 454.1 MB, free: 136 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.006662, allocations: 0 / 454.1 MB, free: 136 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-06/0.006666, allocations: 0.75 kB / 454.1 MB, free: 136 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.006667, allocations: 80 / 454.1 MB, free: 136 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.006668, allocations: 4.922 kB / 454.1 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.575e-05/0.006754, allocations: 159.6 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.006763, allocations: 0 / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.058e-05/0.006793, allocations: 0.9062 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.006818, allocations: 7.984 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.006822, allocations: 4.781 kB / 454.3 MB, free: 15.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.779e-05/0.00684, allocations: 23.34 kB / 454.3 MB, free: 15.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.00684, allocations: 0.7812 kB / 454.3 MB, free: 15.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001395/0.006979, allocations: 19.94 kB / 454.4 MB, free: 15.9 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.000106/0.007085, allocations: 85.56 kB / 454.4 MB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.25e-05/0.007168, allocations: 46.64 kB / 454.5 MB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.007174, allocations: 4 kB / 454.5 MB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/0.007198, allocations: 16.84 kB / 454.5 MB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.007345, allocations: 16.75 kB / 454.5 MB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.007734, allocations: 158.2 kB / 454.7 MB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.018e-05/0.007785, allocations: 63.2 kB / 454.7 MB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.655e-05/0.007811, allocations: 11.06 kB / 454.7 MB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.007863, allocations: 67.36 kB / 454.8 MB, free: 15.39 MB / 442.7 MB Notification: Performance of SimCode: time 6.62e-07/0.007864, allocations: 0.75 kB / 454.8 MB, free: 15.39 MB / 442.7 MB Notification: Performance of Templates: time 0.002757/0.01062, allocations: 1.097 MB / 455.9 MB, free: 14.38 MB / 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.6123468410223722]