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.001581/0.001581, allocations: 80.75 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.001882/0.001882, 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 1.069/1.069, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8576/0.8576, allocations: 154.9 MB / 415.1 MB, free: 228 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.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.114e-06/2.114e-06, allocations: 0 / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.509e-05, allocations: 6.125 kB / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001415/0.00144, allocations: 0.7082 MB / 481.1 MB, free: 5.844 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.002481, allocations: 1.125 MB / 482.2 MB, free: 4.715 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.002516, allocations: 0 / 482.2 MB, free: 4.715 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.002539, allocations: 4.812 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.312e-05/0.002603, allocations: 7.156 kB / 482.2 MB, free: 4.707 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.002818, allocations: 49.05 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.715e-05/0.002895, allocations: 44.39 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.243e-05/0.002957, allocations: 8 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.543e-05/0.003033, allocations: 30.52 kB / 482.4 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.003077, allocations: 17.72 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.003089, allocations: 5.062 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.777e-05/0.003157, allocations: 23.98 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.003173, allocations: 10.62 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.003194, allocations: 18.73 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.003299, allocations: 57.69 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.003301, allocations: 0 / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003302, allocations: 1.219 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.003305, allocations: 0 / 482.5 MB, free: 4.469 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002892/0.003594, allocations: 265 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.003628, allocations: 8.031 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.003704, allocations: 10.08 kB / 482.8 MB, free: 4.172 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.552e-05/0.003779, allocations: 109.7 kB / 482.9 MB, free: 4.039 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.003789, allocations: 8.375 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-06/0.003795, allocations: 1 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.321e-05/0.003878, allocations: 66.86 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.003886, allocations: 3.094 kB / 482.9 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.003893, allocations: 4.375 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.003898, allocations: 384 / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.301e-05/0.003921, allocations: 11.94 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.004143, allocations: 165.5 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/0.004199, allocations: 34.52 kB / 483.2 MB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.004215, allocations: 9.516 kB / 483.2 MB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.004229, allocations: 3.984 kB / 483.2 MB, free: 3.707 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.004287, allocations: 56.84 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.004288, allocations: 0 / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001055/0.004393, allocations: 58.22 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.004433, allocations: 60.25 kB / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.004498, allocations: 110.7 kB / 483.5 MB, free: 3.387 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.004511, allocations: 30.58 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.004545, allocations: 80.14 kB / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.004572, allocations: 20.73 kB / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.004607, allocations: 21.7 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.004691, allocations: 318.8 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.004704, allocations: 8.562 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.004732, allocations: 31.42 kB / 484 MB, free: 2.852 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/0.004782, allocations: 53.22 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004784, allocations: 0 / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.99e-05/0.004854, allocations: 59.52 kB / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.004865, allocations: 4 kB / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.004871, allocations: 4.562 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.004881, allocations: 4.688 kB / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/0.004934, allocations: 15.92 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.004938, allocations: 5.781 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.004962, allocations: 11.95 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.004968, allocations: 0 / 484.1 MB, free: 2.684 MB / 442.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.28e-05/0.00502, allocations: 115 kB / 484.2 MB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.005028, allocations: 4.844 kB / 484.2 MB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.671e-05/0.005105, allocations: 58.05 kB / 484.3 MB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.005107, allocations: 4.812 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.005109, allocations: 0.5625 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.005112, allocations: 4 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.005253, allocations: 199.5 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005254, allocations: 2.344 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.005278, allocations: 11.94 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.00528, allocations: 3.984 kB / 484.5 MB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.005286, allocations: 3.938 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.005287, allocations: 160 / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.005288, allocations: 0 / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.166e-05/0.00536, allocations: 144.3 kB / 484.6 MB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.005365, allocations: 5.453 kB / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.005375, allocations: 11.92 kB / 484.7 MB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.986e-05/0.005415, allocations: 4 kB / 484.7 MB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.00544, allocations: 9.891 kB / 484.7 MB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.005451, allocations: 4 kB / 484.7 MB, free: 2.062 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.523e-05/0.005466, allocations: 12.84 kB / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005466, allocations: 0 / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.005599, allocations: 8 kB / 484.7 MB, free: 2.039 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: 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 8.576e-05/0.005685, allocations: 93.03 kB / 484.8 MB, free: 1.941 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.237e-05/0.005748, allocations: 37.61 kB / 484.8 MB, free: 1.902 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.005749, allocations: 5.094 kB / 484.8 MB, free: 1.898 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.404e-05/0.005773, allocations: 12.86 kB / 484.8 MB, free: 1.883 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.005902, allocations: 20.77 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.006241, allocations: 138.3 kB / 485 MB, free: 1.703 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.757e-05/0.006278, allocations: 56.23 kB / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.11e-05/0.006299, allocations: 9.125 kB / 485.1 MB, free: 1.621 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.006342, allocations: 52.78 kB / 485.1 MB, free: 1.57 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.006343, allocations: 4 kB / 485.1 MB, free: 1.566 MB / 442.7 MB Notification: Performance of Templates: time 0.00231/0.008653, allocations: 0.849 MB / 486 MB, free: 0.7734 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7345820823684335]