Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.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.0006939/0.0006939, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008847/0.001579, 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.0006973/0.0006973, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000902/0.001599, 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 0.9988/0.9988, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1086/1.107, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7866/0.7866, allocations: 154.6 MB / 398.5 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2924/1.079, allocations: 49.03 MB / 447.6 MB, free: 6.695 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/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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 448.8 MB, free: 5.449 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.275e-05, allocations: 5.562 kB / 448.9 MB, free: 5.445 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001148/0.001161, allocations: 0.7047 MB / 449.6 MB, free: 4.777 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.002204, allocations: 1.127 MB / 450.7 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.002247, allocations: 1 kB / 450.7 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.002269, allocations: 3.938 kB / 450.7 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.529e-05/0.002304, allocations: 4.922 kB / 450.7 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.002495, allocations: 44.53 kB / 450.7 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.51e-05/0.00259, allocations: 48.19 kB / 450.8 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.475e-05/0.002665, allocations: 8.531 kB / 450.8 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.002747, allocations: 38.36 kB / 450.8 MB, free: 3.512 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.002801, allocations: 18.41 kB / 450.8 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.002816, allocations: 4 kB / 450.9 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.002894, allocations: 20.61 kB / 450.9 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.002912, allocations: 6.75 kB / 450.9 MB, free: 3.469 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.002933, allocations: 9.859 kB / 450.9 MB, free: 3.461 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.003046, allocations: 51.62 kB / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.561e-05/0.003062, allocations: 0 / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003062, allocations: 0 / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.003079, allocations: 0.9375 kB / 450.9 MB, free: 3.414 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004437/0.003523, allocations: 274.7 kB / 451.2 MB, free: 3.125 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.003553, allocations: 12.03 kB / 451.2 MB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.003685, allocations: 90.03 kB / 451.3 MB, free: 3.008 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.694e-05/0.003772, allocations: 109.7 kB / 451.4 MB, free: 2.875 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.003782, allocations: 1.219 kB / 451.4 MB, free: 2.875 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.003791, allocations: 4.375 kB / 451.4 MB, free: 2.871 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.003891, allocations: 66.88 kB / 451.5 MB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.0039, allocations: 192 / 451.5 MB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.003906, allocations: 1.188 kB / 451.5 MB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.003911, allocations: 5.562 kB / 451.5 MB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.003945, allocations: 15.16 kB / 451.5 MB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.004208, allocations: 160.2 kB / 451.7 MB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.284e-05/0.004291, allocations: 43.72 kB / 451.7 MB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.004308, allocations: 8.859 kB / 451.7 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.004329, allocations: 1.188 kB / 451.7 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.246e-05/0.004412, allocations: 55.52 kB / 451.8 MB, free: 2.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.004413, allocations: 0 / 451.8 MB, free: 2.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.000122/0.004535, allocations: 66.23 kB / 451.8 MB, free: 2.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.004572, allocations: 55.34 kB / 451.9 MB, free: 2.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.004627, allocations: 112.7 kB / 452 MB, free: 2.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.004638, allocations: 26.58 kB / 452 MB, free: 2.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.004667, allocations: 84.14 kB / 452.1 MB, free: 2.105 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.004685, allocations: 19.83 kB / 452.1 MB, free: 2.086 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.004714, allocations: 21.7 kB / 452.1 MB, free: 2.059 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.004788, allocations: 320.4 kB / 452.5 MB, free: 1.738 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.004799, allocations: 8 kB / 452.5 MB, free: 1.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.004825, allocations: 35.41 kB / 452.5 MB, free: 1.684 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.004869, allocations: 44.03 kB / 452.5 MB, free: 1.629 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.004871, allocations: 2.25 kB / 452.5 MB, free: 1.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.497e-05/0.004936, allocations: 61.61 kB / 452.6 MB, free: 1.562 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.004948, allocations: 4.5 kB / 452.6 MB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004952, allocations: 0.9062 kB / 452.6 MB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.004963, allocations: 7.938 kB / 452.6 MB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.005033, allocations: 20.52 kB / 452.6 MB, free: 1.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.005037, allocations: 4 kB / 452.6 MB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.005062, allocations: 4.578 kB / 452.7 MB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.00507, allocations: 9.25 kB / 452.7 MB, free: 1.516 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.201e-05/0.005132, allocations: 118.8 kB / 452.8 MB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.00514, allocations: 4 kB / 452.8 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.6e-05/0.005226, allocations: 59.27 kB / 452.8 MB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.005229, allocations: 3.938 kB / 452.8 MB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.005231, allocations: 0 / 452.8 MB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.005235, allocations: 1.188 kB / 452.8 MB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.0054, allocations: 194.8 kB / 453 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.005401, allocations: 0 / 453 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.005432, allocations: 17.59 kB / 453.1 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-06/0.00544, allocations: 7.922 kB / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.005445, allocations: 4 kB / 453.1 MB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.005449, allocations: 1 kB / 453.1 MB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.00545, allocations: 0 / 453.1 MB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.005453, allocations: 5.828 kB / 453.1 MB, free: 1.074 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.661e-05/0.00553, allocations: 135.5 kB / 453.2 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.005542, allocations: 11.92 kB / 453.2 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.005585, allocations: 9.438 kB / 453.2 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.005614, allocations: 3.984 kB / 453.2 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.005625, allocations: 4 kB / 453.2 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.219e-05/0.005637, allocations: 12.84 kB / 453.2 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005637, allocations: 0.8438 kB / 453.2 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.005779, allocations: 19.89 kB / 453.3 MB, free: 0.8633 MB / 426.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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.000109/0.005888, allocations: 85.12 kB / 453.3 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.843e-05/0.005976, allocations: 34.55 kB / 453.4 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.005981, allocations: 1 kB / 453.4 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.942e-05/0.00601, allocations: 20.86 kB / 453.4 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.006153, allocations: 8.641 kB / 453.4 MB, free: 0.707 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.006737, allocations: 142 kB / 453.5 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.345e-05/0.006771, allocations: 59.91 kB / 453.6 MB, free: 480 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.289e-05/0.006794, allocations: 6.5 kB / 453.6 MB, free: 476 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.006838, allocations: 63.94 kB / 453.7 MB, free: 412 kB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006839, allocations: 0 / 453.7 MB, free: 412 kB / 426.7 MB Notification: Performance of Templates: time 0.002307/0.009146, allocations: 0.8789 MB / 454.6 MB, free: 15.59 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5577093102037907]