Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000665/0.000665, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008711/0.001536, 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.0006701/0.0006701, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008724/0.001542, 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.9468/0.9468, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09342/1.04, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8035/0.8035, allocations: 154.6 MB / 398.8 MB, free: 372 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2635/1.067, allocations: 49.04 MB / 447.8 MB, free: 6.586 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/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_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_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 449.1 MB, free: 5.305 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.488e-05, allocations: 2.312 kB / 449.1 MB, free: 5.301 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001786/0.001811, allocations: 0.7647 MB / 449.9 MB, free: 4.582 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.003098, allocations: 1.256 MB / 451.1 MB, free: 3.312 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.00314, allocations: 4.484 kB / 451.1 MB, free: 3.309 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.003165, allocations: 5.219 kB / 451.1 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.224e-05/0.003207, allocations: 8.156 kB / 451.2 MB, free: 3.301 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.006602, allocations: 136.2 kB / 451.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.006779, allocations: 120.2 kB / 451.4 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.276e-05/0.006852, allocations: 13.19 kB / 451.4 MB, free: 3.051 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.006974, allocations: 74.75 kB / 451.5 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.007058, allocations: 38.56 kB / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.007082, allocations: 8 kB / 451.5 MB, free: 2.938 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.157e-05/0.007163, allocations: 28.61 kB / 451.6 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.007189, allocations: 11.95 kB / 451.6 MB, free: 2.902 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.007236, allocations: 26.39 kB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.007392, allocations: 86.03 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.007405, allocations: 0 / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.007405, allocations: 0 / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.007419, allocations: 2.406 kB / 451.7 MB, free: 2.797 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.0004712/0.00789, allocations: 312.2 kB / 452 MB, free: 2.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.00792, allocations: 8.031 kB / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.008074, allocations: 94.91 kB / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.008153, allocations: 109.8 kB / 452.2 MB, free: 2.211 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.008165, allocations: 8.375 kB / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.008187, allocations: 10.34 kB / 452.2 MB, free: 2.195 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.008305, allocations: 70.86 kB / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.008313, allocations: 192 / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.008321, allocations: 384 / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.008328, allocations: 3.234 kB / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.982e-05/0.008358, allocations: 17.02 kB / 452.3 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.008642, allocations: 180.2 kB / 452.5 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/0.00871, allocations: 31.14 kB / 452.5 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.008728, allocations: 16.25 kB / 452.5 MB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.008742, allocations: 0 / 452.5 MB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.89e-05/0.008841, allocations: 71.44 kB / 452.6 MB, free: 1.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.008842, allocations: 0 / 452.6 MB, free: 1.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001421/0.008984, allocations: 69.55 kB / 452.7 MB, free: 1.699 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.009014, allocations: 51.41 kB / 452.7 MB, free: 1.637 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.858e-05/0.009083, allocations: 126.6 kB / 452.8 MB, free: 1.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.009102, allocations: 25.7 kB / 452.9 MB, free: 1.469 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.009144, allocations: 92.98 kB / 453 MB, free: 1.375 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.009163, allocations: 19.89 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.009224, allocations: 33.69 kB / 453 MB, free: 1.316 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.009304, allocations: 320.7 kB / 453.3 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.03e-05/0.009364, allocations: 49.69 kB / 453.4 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-05/0.009435, allocations: 89.05 kB / 453.5 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.685e-05/0.009532, allocations: 93.64 kB / 453.5 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.009534, allocations: 0 / 453.5 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001688/0.009703, allocations: 166.5 kB / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.009741, allocations: 41.62 kB / 453.8 MB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.009746, allocations: 0 / 453.8 MB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.00976, allocations: 5.719 kB / 453.8 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.009835, allocations: 11.98 kB / 453.8 MB, free: 496 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.00984, allocations: 4 kB / 453.8 MB, free: 492 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-05/0.009933, allocations: 24.83 kB / 453.8 MB, free: 468 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.009948, allocations: 8 kB / 453.8 MB, free: 460 kB / 426.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 7.829e-05/0.01003, allocations: 123.9 kB / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.01004, allocations: 8 kB / 453.9 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.914e-05/0.01014, allocations: 63.36 kB / 454 MB, free: 248 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.01014, allocations: 0 / 454 MB, free: 248 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01014, allocations: 4 kB / 454 MB, free: 244 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01015, allocations: 3.422 kB / 454 MB, free: 244 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.01031, allocations: 207.4 kB / 454.2 MB, free: 12 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01031, allocations: 5.219 kB / 454.2 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.01035, allocations: 4 kB / 454.2 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.01037, allocations: 12.09 kB / 454.2 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01037, allocations: 5.047 kB / 454.2 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.01038, allocations: 4 kB / 454.2 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.01038, allocations: 0 / 454.2 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01038, allocations: 1.156 kB / 454.2 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.295e-05/0.01047, allocations: 151.5 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.01049, allocations: 3.938 kB / 454.4 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.01055, allocations: 8.719 kB / 454.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.01057, allocations: 7.984 kB / 454.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.01058, allocations: 1.5 kB / 454.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.812e-05/0.0106, allocations: 16.83 kB / 454.4 MB, free: 15.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0106, allocations: 4 kB / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.0108, allocations: 20 kB / 454.4 MB, free: 15.75 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.0001125/0.01091, allocations: 93.78 kB / 454.5 MB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.01108, allocations: 137.9 kB / 454.7 MB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.01108, allocations: 8.625 kB / 454.7 MB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.01112, allocations: 29.94 kB / 454.7 MB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.01133, allocations: 96.7 kB / 454.8 MB, free: 15.35 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007508/0.01208, allocations: 162.2 kB / 455 MB, free: 15.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.01212, allocations: 63.34 kB / 455 MB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.798e-05/0.01214, allocations: 6.562 kB / 455 MB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/0.01223, allocations: 63.98 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01223, allocations: 0.5625 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of Templates: time 0.002916/0.01515, allocations: 1.608 MB / 456.7 MB, free: 13.52 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.561244155280292]