Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0006957/0.0006957, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009064/0.001602, 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.0006879/0.0006879, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008689/0.001557, 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.9523/0.9523, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09106/1.043, allocations: 53.66 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.7774/0.7774, 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.3143/1.092, allocations: 49.14 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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 449.9 MB, free: 4.641 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.143e-05, allocations: 4.844 kB / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001729/0.001751, allocations: 0.7617 MB / 450.7 MB, free: 3.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.002951, allocations: 1.253 MB / 451.9 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.002992, allocations: 0 / 451.9 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.003016, allocations: 4.562 kB / 451.9 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.466e-05/0.003061, allocations: 11.66 kB / 452 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.003386, allocations: 138.1 kB / 452.1 MB, free: 2.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.003547, allocations: 119.2 kB / 452.2 MB, free: 2.398 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.262e-05/0.003619, allocations: 17.59 kB / 452.2 MB, free: 2.383 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.00372, allocations: 74.5 kB / 452.3 MB, free: 2.312 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.003794, allocations: 37.14 kB / 452.3 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.003815, allocations: 12 kB / 452.3 MB, free: 2.27 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-05/0.003893, allocations: 28.53 kB / 452.4 MB, free: 2.242 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.003916, allocations: 6.406 kB / 452.4 MB, free: 2.238 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.003951, allocations: 25.64 kB / 452.4 MB, free: 2.215 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.004085, allocations: 83.23 kB / 452.5 MB, free: 2.137 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.004096, allocations: 0 / 452.5 MB, free: 2.137 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.004098, allocations: 4 kB / 452.5 MB, free: 2.133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.004107, allocations: 4.688 kB / 452.5 MB, free: 2.129 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.0004179/0.004525, allocations: 308.8 kB / 452.8 MB, free: 1.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.004553, allocations: 13.17 kB / 452.8 MB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.004665, allocations: 93.98 kB / 452.9 MB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.83e-05/0.004733, allocations: 121.6 kB / 453 MB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.004744, allocations: 5.625 kB / 453 MB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.004759, allocations: 4.375 kB / 453 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/0.004857, allocations: 66.92 kB / 453.1 MB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.004863, allocations: 6.094 kB / 453.1 MB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.004869, allocations: 384 / 453.1 MB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.004873, allocations: 384 / 453.1 MB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.004897, allocations: 16.41 kB / 453.1 MB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.005133, allocations: 183.5 kB / 453.3 MB, free: 1.238 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.795e-05/0.005191, allocations: 29.3 kB / 453.3 MB, free: 1.203 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.005206, allocations: 12.94 kB / 453.3 MB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.00522, allocations: 4 kB / 453.3 MB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.966e-05/0.005299, allocations: 67.38 kB / 453.4 MB, free: 1.105 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.0053, allocations: 0 / 453.4 MB, free: 1.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001161/0.005416, allocations: 73.83 kB / 453.5 MB, free: 1.027 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.005444, allocations: 56.31 kB / 453.5 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/0.0055, allocations: 118.6 kB / 453.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.005517, allocations: 29.7 kB / 453.7 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.005551, allocations: 90.02 kB / 453.8 MB, free: 0.707 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.005569, allocations: 23.83 kB / 453.8 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.005612, allocations: 33.69 kB / 453.8 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.005683, allocations: 318.8 kB / 454.1 MB, free: 332 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.005732, allocations: 53.69 kB / 454.2 MB, free: 272 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.005782, allocations: 78.03 kB / 454.3 MB, free: 176 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.283e-05/0.005855, allocations: 101.9 kB / 454.4 MB, free: 56 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005857, allocations: 0 / 454.4 MB, free: 56 kB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000143/0.006, allocations: 158.6 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.006037, allocations: 45.62 kB / 454.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006041, allocations: 0 / 454.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.006051, allocations: 5.219 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.694e-05/0.006118, allocations: 11.94 kB / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-06/0.006121, allocations: 0 / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.006193, allocations: 29.06 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.006205, allocations: 7.828 kB / 454.6 MB, free: 15.78 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: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 6.085e-05/0.006266, allocations: 124.5 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.006275, allocations: 4 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.791e-05/0.006363, allocations: 66.73 kB / 454.8 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.006365, allocations: 0 / 454.8 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.006366, allocations: 1.469 kB / 454.8 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.00637, allocations: 4 kB / 454.8 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.006504, allocations: 210.8 kB / 455 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.006506, allocations: 0 / 455 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.006537, allocations: 9.438 kB / 455 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.006544, allocations: 13.94 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.006547, allocations: 4 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.006552, allocations: 4.734 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.006554, allocations: 0 / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006554, allocations: 0 / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.695e-05/0.006631, allocations: 148.3 kB / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.006645, allocations: 7.938 kB / 455.2 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.372e-05/0.006678, allocations: 4.875 kB / 455.2 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.006702, allocations: 3.984 kB / 455.2 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.006707, allocations: 4.906 kB / 455.2 MB, free: 15.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.875e-05/0.006726, allocations: 20.83 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006726, allocations: 0.625 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001413/0.006867, allocations: 20 kB / 455.3 MB, free: 15.09 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001058/0.006973, allocations: 89.55 kB / 455.3 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.007122, allocations: 150.5 kB / 455.5 MB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.007128, allocations: 0.625 kB / 455.5 MB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.007163, allocations: 28.83 kB / 455.5 MB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.007338, allocations: 101.6 kB / 455.6 MB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.007942, allocations: 158.9 kB / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.386e-05/0.007976, allocations: 67.2 kB / 455.8 MB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.513e-05/0.008001, allocations: 1.562 kB / 455.8 MB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.008077, allocations: 68.77 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/0.008078, allocations: 0 / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of Templates: time 0.003055/0.01113, allocations: 1.622 MB / 457.5 MB, free: 12.84 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5131287686526775]