Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.0009645/0.0009645, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002318, 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.001051/0.001051, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002424, 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.9682/0.9682, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0915/1.06, 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.8348/0.8348, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.3015/1.136, allocations: 49.14 MB / 448.6 MB, free: 5.891 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 450 MB, free: 4.586 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.621e-05, allocations: 3.469 kB / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002164/0.00219, allocations: 0.7848 MB / 450.7 MB, free: 3.832 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.003766, allocations: 1.206 MB / 451.9 MB, free: 2.613 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.003811, allocations: 0 / 451.9 MB, free: 2.613 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.00384, allocations: 3.938 kB / 451.9 MB, free: 2.609 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.003894, allocations: 15.86 kB / 452 MB, free: 2.598 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.004272, allocations: 130.1 kB / 452.1 MB, free: 2.473 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.004469, allocations: 118.9 kB / 452.2 MB, free: 2.371 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.311e-05/0.004552, allocations: 11.17 kB / 452.2 MB, free: 2.363 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.0047, allocations: 79.23 kB / 452.3 MB, free: 2.289 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.8e-05/0.004798, allocations: 34.56 kB / 452.3 MB, free: 2.258 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.004826, allocations: 9.906 kB / 452.3 MB, free: 2.25 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.725e-05/0.004913, allocations: 23.98 kB / 452.4 MB, free: 2.227 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.933e-05/0.004943, allocations: 14.12 kB / 452.4 MB, free: 2.215 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.004993, allocations: 26.52 kB / 452.4 MB, free: 2.191 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.005157, allocations: 71.36 kB / 452.5 MB, free: 2.125 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.005169, allocations: 1 kB / 452.5 MB, free: 2.125 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00517, allocations: 4 kB / 452.5 MB, free: 2.121 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.005179, allocations: 0.875 kB / 452.5 MB, free: 2.121 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.0004449/0.005624, allocations: 316.2 kB / 452.8 MB, free: 1.781 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.005654, allocations: 12.47 kB / 452.8 MB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.005697, allocations: 20.92 kB / 452.8 MB, free: 1.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.356e-05/0.005771, allocations: 117.5 kB / 452.9 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.005781, allocations: 5.656 kB / 452.9 MB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.0058, allocations: 8.375 kB / 452.9 MB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.577e-05/0.005896, allocations: 68.52 kB / 453 MB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.005903, allocations: 0.875 kB / 453 MB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.005909, allocations: 384 / 453 MB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.005914, allocations: 2.344 kB / 453 MB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.005936, allocations: 11.94 kB / 453 MB, free: 1.516 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.006175, allocations: 180.2 kB / 453.2 MB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.404e-05/0.006249, allocations: 39.2 kB / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.006268, allocations: 13.47 kB / 453.3 MB, free: 1.262 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.006275, allocations: 0 / 453.3 MB, free: 1.262 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.561e-05/0.00636, allocations: 73.09 kB / 453.3 MB, free: 1.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.006361, allocations: 0 / 453.3 MB, free: 1.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001211/0.006482, allocations: 77.58 kB / 453.4 MB, free: 1.098 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.006513, allocations: 55.41 kB / 453.5 MB, free: 1.031 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.422e-05/0.006567, allocations: 119.5 kB / 453.6 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.006587, allocations: 33.69 kB / 453.6 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.006622, allocations: 96.69 kB / 453.7 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.006638, allocations: 15.89 kB / 453.7 MB, free: 0.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.006683, allocations: 42.52 kB / 453.8 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.006752, allocations: 314.8 kB / 454.1 MB, free: 396 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.571e-05/0.006798, allocations: 54.31 kB / 454.1 MB, free: 336 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.006854, allocations: 93.84 kB / 454.2 MB, free: 220 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.006926, allocations: 107.4 kB / 454.3 MB, free: 92 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.006928, allocations: 2.094 kB / 454.3 MB, free: 92 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001358/0.007064, allocations: 169.9 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.007096, allocations: 41.69 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.0071, allocations: 0.9062 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.007113, allocations: 3.938 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.007199, allocations: 12.91 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.007201, allocations: 0 / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/0.007288, allocations: 29.11 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.0073, allocations: 4 kB / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 5.704e-05/0.007357, allocations: 130.3 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.007366, allocations: 4.594 kB / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.887e-05/0.007384, allocations: 8.438 kB / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.007387, allocations: 8.594 kB / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.007389, allocations: 1.516 kB / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.007392, allocations: 0 / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.007556, allocations: 215.4 kB / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007557, allocations: 0.625 kB / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.00758, allocations: 11.92 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.007587, allocations: 12.7 kB / 455 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.007589, allocations: 0 / 455 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.007594, allocations: 5.281 kB / 455 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.007595, allocations: 0 / 455 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.007595, allocations: 0 / 455 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.085e-05/0.007666, allocations: 160.2 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.007679, allocations: 3.938 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.413e-05/0.007713, allocations: 8.891 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.00774, allocations: 9.906 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.007745, allocations: 5 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.37e-05/0.007758, allocations: 8.859 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007759, allocations: 4 kB / 455.2 MB, free: 15.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000134/0.007893, allocations: 32.5 kB / 455.2 MB, free: 15.15 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001225/0.008015, allocations: 92.95 kB / 455.3 MB, free: 15.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.008158, allocations: 150.4 kB / 455.4 MB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.008162, allocations: 5.375 kB / 455.4 MB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.246e-05/0.008195, allocations: 28.73 kB / 455.5 MB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.008348, allocations: 98.86 kB / 455.6 MB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.00873, allocations: 165.6 kB / 455.7 MB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.00876, allocations: 59.22 kB / 455.8 MB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.406e-05/0.008784, allocations: 11.3 kB / 455.8 MB, free: 14.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.008854, allocations: 67.95 kB / 455.9 MB, free: 14.4 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008854, allocations: 0 / 455.9 MB, free: 14.4 MB / 442.7 MB Notification: Performance of Templates: time 0.002938/0.01179, allocations: 1.671 MB / 457.5 MB, free: 12.85 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6059166165068746]