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.0009621/0.0009621, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.002113, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009509/0.0009509, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002112, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.049/1.049, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09795/1.147, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7692/0.7692, allocations: 155.3 MB / 399.2 MB, free: 15.95 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.2882/1.057, allocations: 49.13 MB / 448.4 MB, free: 6.055 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.653e-06/1.653e-06, allocations: 0 / 449.7 MB, free: 4.809 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.385e-05, allocations: 3.078 kB / 449.7 MB, free: 4.805 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001645/0.001659, allocations: 0.7609 MB / 450.4 MB, free: 4.082 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.003106, allocations: 1.252 MB / 451.7 MB, free: 2.816 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.003147, allocations: 1.969 kB / 451.7 MB, free: 2.816 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.003174, allocations: 7.922 kB / 451.7 MB, free: 2.809 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.003219, allocations: 7.875 kB / 451.7 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.003597, allocations: 141.6 kB / 451.8 MB, free: 2.668 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.003793, allocations: 117 kB / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.746e-05/0.003871, allocations: 12 kB / 452 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.004011, allocations: 79.59 kB / 452 MB, free: 2.484 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.004107, allocations: 33.59 kB / 452.1 MB, free: 2.453 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.004139, allocations: 12.62 kB / 452.1 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.462e-05/0.004233, allocations: 38.8 kB / 452.1 MB, free: 2.406 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.004258, allocations: 9.031 kB / 452.1 MB, free: 2.398 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.004307, allocations: 24 kB / 452.1 MB, free: 2.375 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.004474, allocations: 71.81 kB / 452.2 MB, free: 2.305 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.488e-05/0.004488, allocations: 0 / 452.2 MB, free: 2.305 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.00449, allocations: 4 kB / 452.2 MB, free: 2.301 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.004508, allocations: 1 kB / 452.2 MB, free: 2.301 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.0005327/0.005041, allocations: 312.2 kB / 452.5 MB, free: 1.965 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.005073, allocations: 8.906 kB / 452.5 MB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.005213, allocations: 93.97 kB / 452.6 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.781e-05/0.005311, allocations: 122.1 kB / 452.7 MB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.005329, allocations: 12.86 kB / 452.8 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.005347, allocations: 4.375 kB / 452.8 MB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.005472, allocations: 64.22 kB / 452.8 MB, free: 1.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.00548, allocations: 4.188 kB / 452.8 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.005488, allocations: 384 / 452.8 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005493, allocations: 1.062 kB / 452.8 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.005531, allocations: 11.92 kB / 452.8 MB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.005847, allocations: 186.1 kB / 453 MB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.423e-05/0.005921, allocations: 26.56 kB / 453.1 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.00594, allocations: 8.859 kB / 453.1 MB, free: 1.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.005958, allocations: 6.062 kB / 453.1 MB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.006071, allocations: 76.03 kB / 453.1 MB, free: 1.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.006072, allocations: 0 / 453.1 MB, free: 1.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.00015/0.006222, allocations: 71.25 kB / 453.2 MB, free: 1.195 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.006259, allocations: 59.39 kB / 453.3 MB, free: 1.125 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/0.006331, allocations: 114.7 kB / 453.4 MB, free: 1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.006354, allocations: 29.7 kB / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.006398, allocations: 89.56 kB / 453.5 MB, free: 0.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.006421, allocations: 23.84 kB / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.006486, allocations: 33.69 kB / 453.6 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.006553, allocations: 314.8 kB / 453.9 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.006599, allocations: 54.47 kB / 453.9 MB, free: 448 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.006651, allocations: 85.09 kB / 454 MB, free: 344 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.00672, allocations: 98.53 kB / 454.1 MB, free: 228 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006722, allocations: 0 / 454.1 MB, free: 228 kB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001228/0.006844, allocations: 161.6 kB / 454.2 MB, free: 48 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.006874, allocations: 39.14 kB / 454.3 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.006878, allocations: 0 / 454.3 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.006886, allocations: 0 / 454.3 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/0.006963, allocations: 19.98 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.006965, allocations: 2.094 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.007037, allocations: 35.84 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.007049, allocations: 4 kB / 454.3 MB, free: 15.95 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 5.725e-05/0.007106, allocations: 120.6 kB / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.007117, allocations: 8.891 kB / 454.5 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.007193, allocations: 65.98 kB / 454.5 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.007195, allocations: 0.9062 kB / 454.5 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.007197, allocations: 0 / 454.5 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.0072, allocations: 0 / 454.5 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.007323, allocations: 204 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007324, allocations: 0 / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.00735, allocations: 11.98 kB / 454.8 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.007358, allocations: 13.55 kB / 454.8 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.00736, allocations: 4.594 kB / 454.8 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.007364, allocations: 3.938 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007365, allocations: 0.6562 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007366, allocations: 0 / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.625e-05/0.007443, allocations: 156 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.007455, allocations: 4.5 kB / 454.9 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.6e-05/0.007491, allocations: 12.61 kB / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.007513, allocations: 3.984 kB / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.007518, allocations: 4.812 kB / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.105e-05/0.007529, allocations: 8.859 kB / 455 MB, free: 15.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007529, allocations: 1.219 kB / 455 MB, free: 15.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.007665, allocations: 24 kB / 455 MB, free: 15.26 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 8.384e-05/0.007749, allocations: 89.06 kB / 455.1 MB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.007894, allocations: 151.9 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.007898, allocations: 0 / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.007925, allocations: 25.8 kB / 455.2 MB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.008053, allocations: 19.89 kB / 455.3 MB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.008654, allocations: 161.7 kB / 455.4 MB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.905e-05/0.008683, allocations: 63.22 kB / 455.5 MB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.444e-05/0.008737, allocations: 11.42 kB / 455.5 MB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.008802, allocations: 63.36 kB / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008802, allocations: 0 / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of Templates: time 0.002922/0.01172, allocations: 1.644 MB / 457.2 MB, free: 13.09 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.5982032772153616]