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.001069/0.001069, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.00239, 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.001021/0.001021, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002298, 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 0.9728/0.9728, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1027/1.076, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.801/0.801, allocations: 154.6 MB / 398.5 MB, free: 0.5273 MB / 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.268/1.069, allocations: 49.05 MB / 447.6 MB, free: 6.68 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 / 448.8 MB, free: 5.426 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.182e-05, allocations: 5 kB / 448.8 MB, free: 5.422 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001536/0.001557, allocations: 0.7608 MB / 449.6 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.002764, allocations: 1.238 MB / 450.8 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.002812, allocations: 3.938 kB / 450.8 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.002838, allocations: 7.922 kB / 450.9 MB, free: 3.441 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.002887, allocations: 15.81 kB / 450.9 MB, free: 3.43 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.003263, allocations: 137.8 kB / 451 MB, free: 3.297 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.00343, allocations: 119.4 kB / 451.1 MB, free: 3.191 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.719e-05/0.003508, allocations: 9.562 kB / 451.1 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.003625, allocations: 82.91 kB / 451.2 MB, free: 3.109 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.003707, allocations: 38.02 kB / 451.3 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.003728, allocations: 8 kB / 451.3 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.003815, allocations: 23.98 kB / 451.3 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.003837, allocations: 11 kB / 451.3 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.003873, allocations: 25.66 kB / 451.3 MB, free: 3.012 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.004016, allocations: 87.73 kB / 451.4 MB, free: 2.926 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.635e-05/0.004032, allocations: 0 / 451.4 MB, free: 2.926 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004033, allocations: 0 / 451.4 MB, free: 2.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.004049, allocations: 0 / 451.4 MB, free: 2.926 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.0004955/0.004545, allocations: 311.1 kB / 451.7 MB, free: 2.594 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.004581, allocations: 8.031 kB / 451.7 MB, free: 2.586 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.004715, allocations: 97.95 kB / 451.8 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/0.004798, allocations: 112.1 kB / 451.9 MB, free: 2.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.004816, allocations: 8.359 kB / 451.9 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.00483, allocations: 12.38 kB / 451.9 MB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.004943, allocations: 62.88 kB / 452 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.004951, allocations: 1.75 kB / 452 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.004958, allocations: 384 / 452 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.004963, allocations: 384 / 452 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.018e-05/0.004993, allocations: 19.91 kB / 452 MB, free: 2.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.005299, allocations: 182.2 kB / 452.2 MB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.404e-05/0.005363, allocations: 34.5 kB / 452.2 MB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.005376, allocations: 8.859 kB / 452.2 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.005396, allocations: 0 / 452.2 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.539e-05/0.005491, allocations: 72.06 kB / 452.3 MB, free: 1.902 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.005492, allocations: 0.625 kB / 452.3 MB, free: 1.902 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.00013/0.005622, allocations: 70.42 kB / 452.4 MB, free: 1.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.005658, allocations: 55.39 kB / 452.4 MB, free: 1.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.00572, allocations: 122.6 kB / 452.6 MB, free: 1.629 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.005736, allocations: 36.36 kB / 452.6 MB, free: 1.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.005772, allocations: 88.09 kB / 452.7 MB, free: 1.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.005788, allocations: 15.89 kB / 452.7 MB, free: 1.484 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.005832, allocations: 37.67 kB / 452.7 MB, free: 1.441 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.005903, allocations: 314.8 kB / 453 MB, free: 1.125 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.005954, allocations: 53.69 kB / 453.1 MB, free: 1.066 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.729e-05/0.006012, allocations: 82.52 kB / 453.2 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.113e-05/0.006093, allocations: 99.44 kB / 453.3 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.006096, allocations: 5.625 kB / 453.3 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001378/0.006234, allocations: 160.9 kB / 453.4 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.006274, allocations: 41.64 kB / 453.5 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.00628, allocations: 0.875 kB / 453.5 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.006289, allocations: 4 kB / 453.5 MB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.006365, allocations: 12.8 kB / 453.5 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/0.006369, allocations: 4 kB / 453.5 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/0.00645, allocations: 28.91 kB / 453.5 MB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.006463, allocations: 8 kB / 453.5 MB, free: 0.5742 MB / 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.386e-05/0.006537, allocations: 122.5 kB / 453.6 MB, free: 460 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.006548, allocations: 7.984 kB / 453.7 MB, free: 452 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.108e-05/0.006639, allocations: 62.05 kB / 453.7 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.006642, allocations: 4 kB / 453.7 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.006644, allocations: 0.5625 kB / 453.7 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.006648, allocations: 1.125 kB / 453.7 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.006802, allocations: 206.8 kB / 453.9 MB, free: 148 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.006804, allocations: 0 / 453.9 MB, free: 148 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.006842, allocations: 10.31 kB / 453.9 MB, free: 140 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-06/0.006852, allocations: 15.88 kB / 454 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.006854, allocations: 0.5938 kB / 454 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.006859, allocations: 1.156 kB / 454 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.006861, allocations: 0 / 454 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.006862, allocations: 0 / 454 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.006965, allocations: 152.2 kB / 454.1 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.006981, allocations: 3.938 kB / 454.1 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.007018, allocations: 13.86 kB / 454.1 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.007045, allocations: 7.984 kB / 454.1 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.00705, allocations: 7.875 kB / 454.1 MB, free: 15.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.539e-05/0.007065, allocations: 16.84 kB / 454.2 MB, free: 15.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007065, allocations: 0 / 454.2 MB, free: 15.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.007227, allocations: 16.53 kB / 454.2 MB, free: 15.89 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.0001113/0.007338, allocations: 93.44 kB / 454.3 MB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.00748, allocations: 146.5 kB / 454.4 MB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.007484, allocations: 0 / 454.4 MB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.456e-05/0.007509, allocations: 22.73 kB / 454.4 MB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.007652, allocations: 21.02 kB / 454.4 MB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.008291, allocations: 157.4 kB / 454.6 MB, free: 15.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.419e-05/0.008325, allocations: 60.39 kB / 454.7 MB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.683e-05/0.008352, allocations: 9.234 kB / 454.7 MB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.00843, allocations: 67.97 kB / 454.7 MB, free: 15.26 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008431, allocations: 0.625 kB / 454.7 MB, free: 15.26 MB / 442.7 MB Notification: Performance of Templates: time 0.003104/0.01153, allocations: 1.64 MB / 456.4 MB, free: 13.73 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.645704266615212]