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.0007467/0.0007467, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008852/0.0008852, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9667/0.9667, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.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.7688/0.7688, allocations: 154.6 MB / 414.8 MB, free: 484 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. " [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.483e-06/1.483e-06, allocations: 0 / 480 MB, free: 6.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.786e-05, allocations: 2.312 kB / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001509/0.001527, allocations: 0.7268 MB / 480.7 MB, free: 6.23 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004412/0.005939, allocations: 1.241 MB / 481.9 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.005988, allocations: 0.875 kB / 481.9 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.006018, allocations: 8.578 kB / 481.9 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.006099, allocations: 16.84 kB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.006529, allocations: 140.9 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.006693, allocations: 119.4 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.181e-05/0.006765, allocations: 8 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.00688, allocations: 70.06 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.006966, allocations: 38.98 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.00699, allocations: 13.22 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.254e-05/0.007052, allocations: 27.92 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.007074, allocations: 12.7 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.007119, allocations: 35.95 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.007261, allocations: 100.8 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.007263, allocations: 0 / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007263, allocations: 1.031 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.765e-06/0.007266, allocations: 0 / 482.5 MB, free: 4.426 MB / 442.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.003391/0.01066, allocations: 298.2 kB / 482.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.01069, allocations: 12.56 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.503e-05/0.01078, allocations: 21.45 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.089e-05/0.01086, allocations: 117.7 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.01088, allocations: 9.766 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.0109, allocations: 9.453 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.01101, allocations: 62.94 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.01101, allocations: 0.9688 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.01102, allocations: 384 / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.01102, allocations: 384 / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.796e-05/0.01105, allocations: 21.36 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.01132, allocations: 176.2 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.307e-05/0.01138, allocations: 32.02 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.0114, allocations: 8.859 kB / 483.3 MB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.01141, allocations: 4.938 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.649e-05/0.0115, allocations: 71.41 kB / 483.3 MB, free: 3.504 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.0115, allocations: 0.5625 kB / 483.3 MB, free: 3.504 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001341/0.01163, allocations: 69.61 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.01166, allocations: 60.02 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.454e-05/0.01173, allocations: 118 kB / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.01175, allocations: 33.64 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.01179, allocations: 92.09 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.0118, allocations: 15.89 kB / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.01186, allocations: 33.69 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.779e-05/0.01194, allocations: 314.8 kB / 484.1 MB, free: 2.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-05/0.01199, allocations: 53.69 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.01206, allocations: 85.59 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.626e-05/0.01214, allocations: 89.61 kB / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01215, allocations: 1.25 kB / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001607/0.01231, allocations: 157.6 kB / 484.4 MB, free: 2.297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.01234, allocations: 42.39 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.01234, allocations: 0 / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01235, allocations: 4.625 kB / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.01242, allocations: 15.92 kB / 484.5 MB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.01242, allocations: 0.9375 kB / 484.5 MB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.01251, allocations: 24.55 kB / 484.5 MB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.01253, allocations: 12.61 kB / 484.5 MB, free: 2.195 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.759e-05/0.0126, allocations: 125 kB / 484.7 MB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.01261, allocations: 4.625 kB / 484.7 MB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.367e-05/0.0127, allocations: 70.72 kB / 484.7 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.0127, allocations: 0.9375 kB / 484.7 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.0127, allocations: 0 / 484.7 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01271, allocations: 5.547 kB / 484.7 MB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.01286, allocations: 206.8 kB / 484.9 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01286, allocations: 0 / 484.9 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.01288, allocations: 8 kB / 485 MB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.01289, allocations: 8.828 kB / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.01289, allocations: 0 / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01289, allocations: 7.875 kB / 485 MB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.0129, allocations: 1 kB / 485 MB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.043e-05/0.01299, allocations: 159.5 kB / 485.1 MB, free: 1.566 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.01299, allocations: 0.5625 kB / 485.1 MB, free: 1.566 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.01301, allocations: 7.938 kB / 485.1 MB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.03e-05/0.01306, allocations: 1.719 kB / 485.1 MB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.01308, allocations: 7.984 kB / 485.1 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.01309, allocations: 0 / 485.1 MB, free: 1.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.767e-05/0.01311, allocations: 24.83 kB / 485.2 MB, free: 1.523 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01311, allocations: 1.656 kB / 485.2 MB, free: 1.523 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002102/0.01332, allocations: 20 kB / 485.2 MB, free: 1.504 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.003108/0.01643, allocations: 88.28 kB / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.01658, allocations: 142.6 kB / 485.4 MB, free: 1.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.01659, allocations: 6 kB / 485.4 MB, free: 1.246 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.01662, allocations: 24.78 kB / 485.4 MB, free: 1.219 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.01679, allocations: 15.98 kB / 485.5 MB, free: 1.203 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.01717, allocations: 156.2 kB / 485.6 MB, free: 1.027 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.83e-05/0.01721, allocations: 60.22 kB / 485.7 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.531e-05/0.01724, allocations: 7.375 kB / 485.7 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.217e-05/0.01732, allocations: 67.36 kB / 485.7 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01732, allocations: 0 / 485.7 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of Templates: time 0.004397/0.02172, allocations: 1.591 MB / 487.3 MB, free: 15.4 MB / 458.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.484668280929327]