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.0008918/0.0008918, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0008875/0.0008875, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.917/0.917, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.88/0.88, allocations: 154.9 MB / 415.9 MB, free: 244 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 2.915e-06/2.915e-06, allocations: 0 / 0.5219 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.547e-05, allocations: 5.375 kB / 0.5219 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001572/0.001597, allocations: 0.7459 MB / 0.5226 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.002894, allocations: 1.215 MB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.002945, allocations: 4 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.002976, allocations: 3.938 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.915e-05/0.003055, allocations: 15.86 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.003461, allocations: 136.8 kB / 0.5239 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.003623, allocations: 123.8 kB / 0.5241 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.003726, allocations: 21.62 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.003846, allocations: 67.89 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.003928, allocations: 43.86 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.003951, allocations: 12 kB / 0.5242 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.427e-05/0.004015, allocations: 24.86 kB / 0.5242 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.00404, allocations: 19.92 kB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.004082, allocations: 32.94 kB / 0.5243 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.004224, allocations: 111.7 kB / 0.5244 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.004226, allocations: 0 / 0.5244 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.42e-07/0.004227, allocations: 1 kB / 0.5244 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.004231, allocations: 0 / 0.5244 GB, free: 14.99 MB / 0.4948 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.0004305/0.004662, allocations: 438.5 kB / 0.5248 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.004697, allocations: 12.53 kB / 0.5248 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.386e-05/0.004791, allocations: 20.88 kB / 0.5248 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.145e-05/0.004872, allocations: 121.5 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.004887, allocations: 4.375 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.004902, allocations: 13.31 kB / 0.525 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.005019, allocations: 70.92 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.005026, allocations: 192 / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.005035, allocations: 5 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.005041, allocations: 4.125 kB / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.058e-05/0.005072, allocations: 16.48 kB / 0.525 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.005383, allocations: 297.7 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.897e-05/0.005452, allocations: 43.14 kB / 0.5254 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.005469, allocations: 17.44 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.005481, allocations: 128 / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.214e-05/0.005573, allocations: 80.95 kB / 0.5255 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.005574, allocations: 0 / 0.5255 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001779/0.005752, allocations: 95.34 kB / 0.5256 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.005787, allocations: 59.33 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.005863, allocations: 177.9 kB / 0.5258 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.00588, allocations: 29.7 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.005935, allocations: 146.8 kB / 0.526 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.005952, allocations: 16.59 kB / 0.526 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.006006, allocations: 47.34 kB / 0.526 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.006121, allocations: 0.4897 MB / 0.5265 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/0.006179, allocations: 57.67 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.006256, allocations: 114 kB / 0.5267 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.006359, allocations: 121.7 kB / 0.5268 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.006361, allocations: 0 / 0.5268 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002176/0.006579, allocations: 212 kB / 0.527 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.00661, allocations: 37.69 kB / 0.527 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.006618, allocations: 4 kB / 0.527 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.006627, allocations: 0 / 0.527 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.006693, allocations: 16.05 kB / 0.527 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.006698, allocations: 7.938 kB / 0.527 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.00679, allocations: 34.94 kB / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.006805, allocations: 4 kB / 0.5271 GB, free: 11.95 MB / 0.4948 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 8.786e-05/0.006893, allocations: 176.5 kB / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.006907, allocations: 11.89 kB / 0.5273 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.007016, allocations: 82.11 kB / 0.5273 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.007019, allocations: 5.5 kB / 0.5273 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.00702, allocations: 0 / 0.5273 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007023, allocations: 0 / 0.5273 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.007227, allocations: 318.3 kB / 0.5276 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.007231, allocations: 5.375 kB / 0.5276 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.007264, allocations: 7.984 kB / 0.5277 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007266, allocations: 0 / 0.5277 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.007272, allocations: 0 / 0.5277 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.007274, allocations: 5.281 kB / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.007275, allocations: 80 / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.00777, allocations: 243.8 kB / 0.5279 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.007779, allocations: 8.547 kB / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.007792, allocations: 8 kB / 0.5279 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.007827, allocations: 4.609 kB / 0.5279 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.007857, allocations: 7.984 kB / 0.5279 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.007864, allocations: 0.5 kB / 0.5279 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.007906, allocations: 137.2 kB / 0.528 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.007906, allocations: 0 / 0.528 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001886/0.008095, allocations: 24 kB / 0.5281 GB, free: 10.87 MB / 0.4948 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.0001035/0.008198, allocations: 99.25 kB / 0.5282 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.008372, allocations: 167.1 kB / 0.5283 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.008373, allocations: 0 / 0.5283 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.087e-05/0.008404, allocations: 27.61 kB / 0.5284 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.008602, allocations: 22.22 kB / 0.5284 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.009003, allocations: 180.1 kB / 0.5285 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.409e-05/0.009037, allocations: 67.28 kB / 0.5286 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.009061, allocations: 5.188 kB / 0.5286 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/0.009146, allocations: 94.17 kB / 0.5287 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/0.009147, allocations: 0.6562 kB / 0.5287 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.00356/0.01271, allocations: 1.736 MB / 0.5304 GB, free: 8.516 MB / 0.4948 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: 3.736218099016696]