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.001034/0.001034, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002357, allocations: 440 kB / 10.41 MB, free: 284 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.00098/0.00098, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001258/0.002238, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9901/0.9901, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08383/1.074, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7862/0.7862, allocations: 154.6 MB / 398.8 MB, free: 396 kB / 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.2847/1.071, allocations: 49.05 MB / 447.8 MB, free: 6.586 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.463e-06/1.463e-06, allocations: 0 / 449.1 MB, free: 5.312 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.927e-05, allocations: 5.688 kB / 449.1 MB, free: 5.309 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001609/0.001629, allocations: 0.7119 MB / 449.8 MB, free: 4.637 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.002685, allocations: 1.13 MB / 451 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.002752, allocations: 0.9062 kB / 451 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.002783, allocations: 3.938 kB / 451 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.097e-05/0.002824, allocations: 3.891 kB / 451 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.003023, allocations: 44.75 kB / 451 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.853e-05/0.003112, allocations: 47.86 kB / 451.1 MB, free: 3.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.387e-05/0.003186, allocations: 13.97 kB / 451.1 MB, free: 3.398 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.529e-05/0.003271, allocations: 31.69 kB / 451.1 MB, free: 3.371 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.253e-05/0.003324, allocations: 13.72 kB / 451.1 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.003339, allocations: 4.656 kB / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.003435, allocations: 27.97 kB / 451.1 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.00346, allocations: 7.594 kB / 451.2 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.003484, allocations: 9.641 kB / 451.2 MB, free: 3.316 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.00361, allocations: 47.45 kB / 451.2 MB, free: 3.273 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.00362, allocations: 0 / 451.2 MB, free: 3.273 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.003622, allocations: 0 / 451.2 MB, free: 3.273 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.003631, allocations: 0 / 451.2 MB, free: 3.273 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.000422/0.004053, allocations: 273.2 kB / 451.5 MB, free: 2.984 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.004081, allocations: 8.031 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.004194, allocations: 90.92 kB / 451.6 MB, free: 2.871 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.238e-05/0.004276, allocations: 113.7 kB / 451.7 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.004285, allocations: 384 / 451.7 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.004298, allocations: 5.031 kB / 451.7 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.00442, allocations: 71.48 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.004425, allocations: 192 / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.004432, allocations: 1.375 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.004436, allocations: 1.25 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.00446, allocations: 11.92 kB / 451.8 MB, free: 2.641 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.004695, allocations: 166.3 kB / 451.9 MB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.027e-05/0.004756, allocations: 35.58 kB / 452 MB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.00477, allocations: 8.859 kB / 452 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.004787, allocations: 4.562 kB / 452 MB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.569e-05/0.004852, allocations: 55.52 kB / 452 MB, free: 2.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.004853, allocations: 0.625 kB / 452 MB, free: 2.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001057/0.004959, allocations: 59.44 kB / 452.1 MB, free: 2.277 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.005071, allocations: 55.34 kB / 452.2 MB, free: 2.211 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.874e-05/0.00513, allocations: 110.7 kB / 452.3 MB, free: 2.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.00514, allocations: 26.39 kB / 452.3 MB, free: 2.059 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/0.005171, allocations: 92.11 kB / 452.4 MB, free: 1.965 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.005188, allocations: 16.69 kB / 452.4 MB, free: 1.949 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.005216, allocations: 22.69 kB / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.00529, allocations: 319.9 kB / 452.7 MB, free: 1.602 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.005307, allocations: 4.5 kB / 452.7 MB, free: 1.598 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.796e-05/0.005335, allocations: 39.39 kB / 452.8 MB, free: 1.547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.62e-05/0.005381, allocations: 46.45 kB / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.005383, allocations: 0 / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.052e-05/0.005454, allocations: 66.22 kB / 452.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.005464, allocations: 4 kB / 452.9 MB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005468, allocations: 1.281 kB / 452.9 MB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.005481, allocations: 8.922 kB / 452.9 MB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.00555, allocations: 19.92 kB / 452.9 MB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.005552, allocations: 0 / 452.9 MB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.005578, allocations: 8.453 kB / 452.9 MB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.005586, allocations: 5.531 kB / 452.9 MB, free: 1.379 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 5.319e-05/0.005639, allocations: 113.8 kB / 453 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.005648, allocations: 9.047 kB / 453 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/0.005726, allocations: 54.06 kB / 453.1 MB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.005728, allocations: 4.562 kB / 453.1 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.00573, allocations: 3.734 kB / 453.1 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.005735, allocations: 4.609 kB / 453.1 MB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.005879, allocations: 198.8 kB / 453.3 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.005881, allocations: 0.625 kB / 453.3 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.005909, allocations: 12.56 kB / 453.3 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.005915, allocations: 3.938 kB / 453.3 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.005917, allocations: 0.625 kB / 453.3 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.005922, allocations: 4 kB / 453.3 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.005924, allocations: 5.156 kB / 453.3 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005925, allocations: 0.7188 kB / 453.3 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.049e-05/0.005996, allocations: 139.5 kB / 453.5 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.006007, allocations: 12.47 kB / 453.5 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.926e-05/0.006046, allocations: 8.766 kB / 453.5 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.006071, allocations: 7.938 kB / 453.5 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.006081, allocations: 5.328 kB / 453.5 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.273e-05/0.006093, allocations: 12.86 kB / 453.5 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006093, allocations: 0 / 453.5 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.006233, allocations: 20.8 kB / 453.5 MB, free: 0.7188 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.000106/0.006339, allocations: 85.09 kB / 453.6 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.006411, allocations: 29.47 kB / 453.6 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.006416, allocations: 5.312 kB / 453.7 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.006448, allocations: 20.84 kB / 453.7 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.0066, allocations: 67.33 kB / 453.7 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000726/0.007326, allocations: 148.2 kB / 453.9 MB, free: 336 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.067e-05/0.007356, allocations: 56.42 kB / 453.9 MB, free: 260 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.334e-05/0.00738, allocations: 9.859 kB / 453.9 MB, free: 252 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.007425, allocations: 52.41 kB / 454 MB, free: 200 kB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007425, allocations: 0 / 454 MB, free: 200 kB / 426.7 MB Notification: Performance of Templates: time 0.002264/0.009689, allocations: 0.8561 MB / 454.9 MB, free: 15.4 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.4967560032382607]