Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001023/0.001023, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001471/0.002494, 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.001074/0.001074, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002574, 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 1.056/1.056, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09072/1.147, 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-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.7787/0.7787, allocations: 155.3 MB / 399.5 MB, free: 15.82 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.2996/1.078, allocations: 49.14 MB / 448.6 MB, free: 5.918 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.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 449.9 MB, free: 4.648 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.598e-05, allocations: 5.375 kB / 449.9 MB, free: 4.645 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002084/0.00211, allocations: 0.7089 MB / 450.6 MB, free: 3.969 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.003414, allocations: 1.132 MB / 451.8 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.003457, allocations: 1.312 kB / 451.8 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.003483, allocations: 3.938 kB / 451.8 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.003527, allocations: 5.797 kB / 451.8 MB, free: 2.82 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.003712, allocations: 42.33 kB / 451.8 MB, free: 2.781 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.868e-05/0.003801, allocations: 47.86 kB / 451.9 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.486e-05/0.003876, allocations: 12.73 kB / 451.9 MB, free: 2.734 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.097e-05/0.003967, allocations: 38.2 kB / 451.9 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.004017, allocations: 9.625 kB / 451.9 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.004032, allocations: 4.719 kB / 451.9 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.308e-05/0.004115, allocations: 30.75 kB / 451.9 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.004142, allocations: 5.75 kB / 452 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.004167, allocations: 9.859 kB / 452 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.0043, allocations: 46.36 kB / 452 MB, free: 2.605 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.004316, allocations: 0 / 452 MB, free: 2.605 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004317, allocations: 0 / 452 MB, free: 2.605 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.004329, allocations: 1.672 kB / 452 MB, free: 2.605 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.0005822/0.004911, allocations: 271.4 kB / 452.3 MB, free: 2.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.004948, allocations: 9.062 kB / 452.3 MB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.005087, allocations: 98.03 kB / 452.4 MB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.11e-05/0.005178, allocations: 105.7 kB / 452.5 MB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.00519, allocations: 6.016 kB / 452.5 MB, free: 2.062 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.005203, allocations: 4.375 kB / 452.5 MB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.00532, allocations: 64.16 kB / 452.6 MB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.005328, allocations: 192 / 452.6 MB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.005335, allocations: 4.375 kB / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.00534, allocations: 1 kB / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.574e-05/0.005366, allocations: 15.92 kB / 452.6 MB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.005619, allocations: 162.2 kB / 452.7 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.059e-05/0.00569, allocations: 38.56 kB / 452.8 MB, free: 1.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.005704, allocations: 9.406 kB / 452.8 MB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.005722, allocations: 4.531 kB / 452.8 MB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.889e-05/0.005801, allocations: 55.52 kB / 452.8 MB, free: 1.668 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.005802, allocations: 0.625 kB / 452.8 MB, free: 1.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001266/0.005929, allocations: 67.27 kB / 452.9 MB, free: 1.598 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.005969, allocations: 51.95 kB / 453 MB, free: 1.535 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.981e-05/0.006038, allocations: 110.7 kB / 453.1 MB, free: 1.414 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.006052, allocations: 25.7 kB / 453.1 MB, free: 1.383 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.006088, allocations: 84.14 kB / 453.2 MB, free: 1.297 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.006109, allocations: 20.39 kB / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.006142, allocations: 23.59 kB / 453.2 MB, free: 1.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.006229, allocations: 318.8 kB / 453.5 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.00625, allocations: 4 kB / 453.5 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.006279, allocations: 32.95 kB / 453.6 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.698e-05/0.006336, allocations: 48.78 kB / 453.6 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.006339, allocations: 0 / 453.6 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.399e-05/0.006413, allocations: 59.83 kB / 453.7 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.006427, allocations: 8 kB / 453.7 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006431, allocations: 0 / 453.7 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.006448, allocations: 9.562 kB / 453.7 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.333e-05/0.006531, allocations: 20.83 kB / 453.7 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.716e-06/0.006535, allocations: 0.5 kB / 453.7 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.00656, allocations: 8.484 kB / 453.7 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.006569, allocations: 4.969 kB / 453.7 MB, free: 0.7148 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 7.252e-05/0.006641, allocations: 119.3 kB / 453.8 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.006649, allocations: 1.828 kB / 453.8 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.119e-05/0.00674, allocations: 66.05 kB / 453.9 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.006743, allocations: 5.375 kB / 453.9 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.006745, allocations: 0 / 453.9 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006748, allocations: 0 / 453.9 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.006912, allocations: 195.5 kB / 454.1 MB, free: 308 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.006914, allocations: 6.094 kB / 454.1 MB, free: 304 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.006946, allocations: 8 kB / 454.1 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.006953, allocations: 11.92 kB / 454.1 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.006955, allocations: 0 / 454.1 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.006961, allocations: 0 / 454.1 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.006963, allocations: 4.812 kB / 454.1 MB, free: 280 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.006965, allocations: 0.875 kB / 454.1 MB, free: 280 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.683e-05/0.007042, allocations: 139.5 kB / 454.3 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.007053, allocations: 10.45 kB / 454.3 MB, free: 116 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.007093, allocations: 8 kB / 454.3 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.007122, allocations: 8.547 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.007131, allocations: 3.938 kB / 454.3 MB, free: 96 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.208e-05/0.007153, allocations: 13.42 kB / 454.3 MB, free: 80 kB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007153, allocations: 0 / 454.3 MB, free: 80 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.007294, allocations: 24.52 kB / 454.3 MB, free: 56 kB / 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.0001395/0.007433, allocations: 81.66 kB / 454.4 MB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.315e-05/0.007517, allocations: 33.83 kB / 454.4 MB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.007522, allocations: 0.7188 kB / 454.4 MB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.007559, allocations: 24.86 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.007739, allocations: 67.86 kB / 454.5 MB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006541/0.008393, allocations: 152.1 kB / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.29e-05/0.008436, allocations: 63.2 kB / 454.7 MB, free: 15.58 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.857e-05/0.008465, allocations: 6.469 kB / 454.8 MB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.00852, allocations: 51.38 kB / 454.8 MB, free: 15.52 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.008521, allocations: 5 kB / 454.8 MB, free: 15.52 MB / 442.7 MB Notification: Performance of Templates: time 0.002675/0.0112, allocations: 0.8459 MB / 455.7 MB, free: 14.73 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.537161040119827]