Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.000963/0.000963, allocations: 93.16 kB / 19.65 MB, free: 288 kB / 13.93 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.0009541/0.0009541, allocations: 168.9 kB / 23.01 MB, free: 1.562 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 0.9683/0.9683, allocations: 177.1 MB / 203.4 MB, free: 5.117 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.8283/0.8283, allocations: 154.8 MB / 414.7 MB, free: 372 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5205 GB, free: 1.949 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.757e-05, allocations: 4.844 kB / 0.5205 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.00191/0.001938, allocations: 0.7366 MB / 0.5213 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.003571, allocations: 1.225 MB / 0.5225 GB, free: 15.99 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.003626, allocations: 1.25 kB / 0.5225 GB, free: 15.99 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 3.971e-05/0.003666, allocations: 3.938 kB / 0.5225 GB, free: 15.99 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 8.504e-05/0.003751, allocations: 15.86 kB / 0.5225 GB, free: 15.97 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.004257, allocations: 137.1 kB / 0.5226 GB, free: 15.84 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.004451, allocations: 135.6 kB / 0.5227 GB, free: 15.71 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.004566, allocations: 13.41 kB / 0.5227 GB, free: 15.69 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.004703, allocations: 71.92 kB / 0.5228 GB, free: 15.62 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 9.612e-05/0.004799, allocations: 35.89 kB / 0.5228 GB, free: 15.59 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.004829, allocations: 13.78 kB / 0.5229 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 7.761e-05/0.004907, allocations: 27.97 kB / 0.5229 GB, free: 15.55 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.004934, allocations: 15.92 kB / 0.5229 GB, free: 15.53 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 6.477e-05/0.004999, allocations: 39.95 kB / 0.5229 GB, free: 15.49 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.005203, allocations: 95.75 kB / 0.523 GB, free: 15.4 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005206, allocations: 5.75 kB / 0.523 GB, free: 15.39 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005207, allocations: 0 / 0.523 GB, free: 15.39 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.005213, allocations: 4 kB / 0.523 GB, free: 15.39 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005911/0.005804, allocations: 446 kB / 0.5235 GB, free: 14.91 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.005844, allocations: 9.688 kB / 0.5235 GB, free: 14.91 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.005971, allocations: 12.89 kB / 0.5235 GB, free: 14.89 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.006087, allocations: 128.4 kB / 0.5236 GB, free: 14.74 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.006107, allocations: 8.359 kB / 0.5236 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.006134, allocations: 8.375 kB / 0.5236 GB, free: 14.73 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.006307, allocations: 71.62 kB / 0.5237 GB, free: 14.65 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.00632, allocations: 5.594 kB / 0.5237 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.006333, allocations: 384 / 0.5237 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.006343, allocations: 4.125 kB / 0.5237 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/0.006401, allocations: 15.98 kB / 0.5237 GB, free: 14.62 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.006937, allocations: 324.9 kB / 0.524 GB, free: 14.27 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.007056, allocations: 47.05 kB / 0.5241 GB, free: 14.21 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.007094, allocations: 20.91 kB / 0.5241 GB, free: 14.19 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.007119, allocations: 0 / 0.5241 GB, free: 14.19 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.007259, allocations: 79.81 kB / 0.5242 GB, free: 14.1 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=8): time 1.873e-06/0.007261, allocations: 0 / 0.5242 GB, free: 14.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=8): time 0.0002707/0.007532, allocations: 109.6 kB / 0.5243 GB, free: 13.99 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.007569, allocations: 55.39 kB / 0.5243 GB, free: 13.92 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.007682, allocations: 181.6 kB / 0.5245 GB, free: 13.73 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.007709, allocations: 25.7 kB / 0.5245 GB, free: 13.7 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.007789, allocations: 142.8 kB / 0.5247 GB, free: 13.55 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.007815, allocations: 19.84 kB / 0.5247 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.007894, allocations: 43.89 kB / 0.5247 GB, free: 13.48 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.008054, allocations: 0.4928 MB / 0.5252 GB, free: 12.98 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.008168, allocations: 61.67 kB / 0.5253 GB, free: 12.91 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.008303, allocations: 120.7 kB / 0.5254 GB, free: 12.77 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.008464, allocations: 129.4 kB / 0.5255 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.008467, allocations: 0.9375 kB / 0.5255 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003438/0.008811, allocations: 216 kB / 0.5257 GB, free: 12.38 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.00885, allocations: 45.62 kB / 0.5258 GB, free: 12.33 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.008857, allocations: 0 / 0.5258 GB, free: 12.33 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.008875, allocations: 4 kB / 0.5258 GB, free: 12.33 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.008979, allocations: 15.94 kB / 0.5258 GB, free: 12.31 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.008987, allocations: 0 / 0.5258 GB, free: 12.31 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.009143, allocations: 34.7 kB / 0.5258 GB, free: 12.28 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.009166, allocations: 8 kB / 0.5258 GB, free: 12.27 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001022/0.009268, allocations: 168.6 kB / 0.526 GB, free: 12.1 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.009292, allocations: 15.89 kB / 0.526 GB, free: 12.08 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.009474, allocations: 94.03 kB / 0.5261 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.009477, allocations: 0 / 0.5261 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.009481, allocations: 0 / 0.5261 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.009485, allocations: 1.312 kB / 0.5261 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.009788, allocations: 341.3 kB / 0.5264 GB, free: 11.61 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.00979, allocations: 0 / 0.5264 GB, free: 11.61 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.009843, allocations: 4.5 kB / 0.5264 GB, free: 11.61 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.009847, allocations: 6 kB / 0.5264 GB, free: 11.6 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.009859, allocations: 3.984 kB / 0.5264 GB, free: 11.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.009863, allocations: 3.938 kB / 0.5264 GB, free: 11.59 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.009864, allocations: 0 / 0.5264 GB, free: 11.59 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.01009, allocations: 247.8 kB / 0.5267 GB, free: 11.33 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.0101, allocations: 3.953 kB / 0.5267 GB, free: 11.33 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.01011, allocations: 2.438 kB / 0.5267 GB, free: 11.33 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.01018, allocations: 8 kB / 0.5267 GB, free: 11.32 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.01023, allocations: 7.984 kB / 0.5267 GB, free: 11.31 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01023, allocations: 0 / 0.5267 GB, free: 11.31 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 6.303e-05/0.0103, allocations: 135.2 kB / 0.5268 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9e-08/0.0103, allocations: 0 / 0.5268 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002911/0.01059, allocations: 26.25 kB / 0.5268 GB, free: 11.16 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00013/0.01072, allocations: 107.2 kB / 0.5269 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.01098, allocations: 160.7 kB / 0.5271 GB, free: 10.86 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01098, allocations: 1.031 kB / 0.5271 GB, free: 10.86 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 5.853e-05/0.01104, allocations: 35.61 kB / 0.5271 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.01133, allocations: 16.86 kB / 0.5271 GB, free: 10.81 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.01194, allocations: 193.3 kB / 0.5273 GB, free: 10.59 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.777e-05/0.01199, allocations: 59.36 kB / 0.5274 GB, free: 10.52 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 3.106e-05/0.01202, allocations: 7.984 kB / 0.5274 GB, free: 10.51 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.01205, allocations: 12.5 kB / 0.5274 GB, free: 10.5 MB / 0.4949 GB Notification: Performance of SimCode: time 7.71e-07/0.01205, allocations: 2.969 kB / 0.5274 GB, free: 10.5 MB / 0.4949 GB Notification: Performance of Templates: time 0.003645/0.01569, allocations: 1.556 MB / 0.5289 GB, free: 9.039 MB / 0.4949 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.130344765726477]