Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.0006906/0.0006906, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009894/0.00168, 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.0007045/0.0007045, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009322/0.001637, 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.9484/0.9484, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08858/1.037, 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.7951/0.7951, allocations: 155.3 MB / 399.5 MB, free: 15.81 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.3081/1.103, allocations: 49.13 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 449.9 MB, free: 4.652 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.945e-06/8.917e-06, allocations: 4.984 kB / 449.9 MB, free: 4.648 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00105/0.001059, allocations: 0.6359 MB / 450.5 MB, free: 4.047 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008678/0.001927, allocations: 1.161 MB / 451.7 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.00195, allocations: 1.312 kB / 451.7 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.001967, allocations: 3.938 kB / 451.7 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.76e-05/0.001994, allocations: 3.266 kB / 451.7 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.002219, allocations: 119.6 kB / 451.8 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.002328, allocations: 99.66 kB / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.002376, allocations: 0.5938 kB / 451.9 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.002449, allocations: 53.41 kB / 452 MB, free: 2.621 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.774e-05/0.002517, allocations: 32.48 kB / 452 MB, free: 2.59 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.002532, allocations: 4 kB / 452 MB, free: 2.586 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-05/0.002592, allocations: 16.88 kB / 452 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.002609, allocations: 8.641 kB / 452 MB, free: 2.562 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.002638, allocations: 18.27 kB / 452.1 MB, free: 2.547 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.002742, allocations: 58.08 kB / 452.1 MB, free: 2.492 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.002751, allocations: 0 / 452.1 MB, free: 2.492 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002752, allocations: 0.5312 kB / 452.1 MB, free: 2.492 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.002758, allocations: 1.281 kB / 452.1 MB, free: 2.492 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000316/0.003074, allocations: 280.4 kB / 452.4 MB, free: 2.188 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.609e-05/0.003101, allocations: 12.03 kB / 452.4 MB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.00313, allocations: 14.52 kB / 452.4 MB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.576e-05/0.003195, allocations: 113.7 kB / 452.5 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.003203, allocations: 2.344 kB / 452.5 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.003217, allocations: 8.375 kB / 452.5 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.46e-05/0.003272, allocations: 55.95 kB / 452.6 MB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5e-06/0.003277, allocations: 4.188 kB / 452.6 MB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-06/0.003282, allocations: 384 / 452.6 MB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.003286, allocations: 2.812 kB / 452.6 MB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.688e-06/0.003296, allocations: 13.14 kB / 452.6 MB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.003459, allocations: 152.3 kB / 452.8 MB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.53e-05/0.003484, allocations: 20.2 kB / 452.8 MB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.219e-05/0.003496, allocations: 4.859 kB / 452.8 MB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-06/0.003499, allocations: 0 / 452.8 MB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.571e-05/0.003575, allocations: 89.08 kB / 452.9 MB, free: 1.633 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.003575, allocations: 1.938 kB / 452.9 MB, free: 1.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 8.488e-05/0.00366, allocations: 57.61 kB / 452.9 MB, free: 1.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.003684, allocations: 52.09 kB / 453 MB, free: 1.508 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.408e-05/0.003758, allocations: 111.5 kB / 453.1 MB, free: 1.387 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.003776, allocations: 29.7 kB / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.00381, allocations: 84.09 kB / 453.2 MB, free: 1.266 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.796e-06/0.003819, allocations: 8.625 kB / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.003857, allocations: 27.19 kB / 453.2 MB, free: 1.227 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.00392, allocations: 318.8 kB / 453.6 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.003959, allocations: 53.62 kB / 453.6 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.003998, allocations: 69.02 kB / 453.7 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.004048, allocations: 75.23 kB / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004049, allocations: 0 / 453.7 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.908e-05/0.004149, allocations: 145 kB / 453.9 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.00418, allocations: 42.53 kB / 453.9 MB, free: 484 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.004183, allocations: 0 / 453.9 MB, free: 484 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.004195, allocations: 3.938 kB / 453.9 MB, free: 480 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.191e-05/0.004207, allocations: 5.688 kB / 453.9 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-06/0.00421, allocations: 0 / 453.9 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.004305, allocations: 21.09 kB / 454 MB, free: 456 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.004318, allocations: 11.98 kB / 454 MB, free: 444 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 5.136e-05/0.004369, allocations: 110.5 kB / 454.1 MB, free: 324 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-06/0.004377, allocations: 5.656 kB / 454.1 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.004395, allocations: 4.984 kB / 454.1 MB, free: 308 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.004398, allocations: 8.547 kB / 454.1 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.004399, allocations: 320 / 454.1 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.004403, allocations: 0.5625 kB / 454.1 MB, free: 300 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.678e-05/0.00446, allocations: 70.45 kB / 454.2 MB, free: 212 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.004462, allocations: 4 kB / 454.2 MB, free: 208 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-06/0.004469, allocations: 4.594 kB / 454.2 MB, free: 204 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.004474, allocations: 4.828 kB / 454.2 MB, free: 200 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.004477, allocations: 4 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-06/0.00448, allocations: 2.016 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.00448, allocations: 0 / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.004483, allocations: 9.469 kB / 454.2 MB, free: 188 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.558e-05/0.004528, allocations: 61.12 kB / 454.3 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-06/0.004535, allocations: 0.6875 kB / 454.3 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.004543, allocations: 4 kB / 454.3 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.004558, allocations: 4.891 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.004561, allocations: 4.922 kB / 454.3 MB, free: 96 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.356e-05/0.004575, allocations: 13.86 kB / 454.3 MB, free: 80 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004575, allocations: 0 / 454.3 MB, free: 80 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001055/0.00468, allocations: 19.94 kB / 454.3 MB, free: 60 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.139e-05/0.004772, allocations: 82.34 kB / 454.4 MB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.004886, allocations: 139.4 kB / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.004889, allocations: 0.5 kB / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.669e-05/0.004906, allocations: 15.33 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.066e-05/0.004997, allocations: 67.39 kB / 454.6 MB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.00532, allocations: 113.7 kB / 454.7 MB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.476e-05/0.005345, allocations: 59.22 kB / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.93e-05/0.005364, allocations: 0.6562 kB / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.005424, allocations: 68.11 kB / 454.8 MB, free: 15.45 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005425, allocations: 6.078 kB / 454.8 MB, free: 15.44 MB / 442.7 MB Notification: Performance of Templates: time 0.002338/0.007763, allocations: 1.309 MB / 456.2 MB, free: 14.22 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4437343887984753]