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.001099/0.001099, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001094/0.001094, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.9671/0.9671, allocations: 177.2 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7799/0.7799, allocations: 154.9 MB / 414.8 MB, free: 412 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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 2.414e-06/2.414e-06, allocations: 0.5469 kB / 0.5207 GB, free: 1.855 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.724e-05, allocations: 8.391 kB / 0.5207 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00143/0.001457, allocations: 0.7132 MB / 0.5214 GB, free: 1.156 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.00274, allocations: 1.25 MB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.002797, allocations: 0 / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.00283, allocations: 5.562 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.685e-05/0.002917, allocations: 15.92 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.003415, allocations: 141.2 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.003573, allocations: 123.7 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.003659, allocations: 11.98 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.003764, allocations: 67.88 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.003847, allocations: 35.94 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.003869, allocations: 9.75 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.408e-05/0.003933, allocations: 23.98 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.003958, allocations: 15.92 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.00401, allocations: 31.97 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.004179, allocations: 100.4 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004181, allocations: 0 / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.004182, allocations: 5.406 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.004187, allocations: 0 / 0.5231 GB, free: 15.32 MB / 0.4948 GB 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.0004605/0.004648, allocations: 426.1 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.004686, allocations: 8.031 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.004813, allocations: 18.23 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.427e-05/0.004897, allocations: 124.4 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.004912, allocations: 4.375 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.004932, allocations: 17.77 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.005062, allocations: 62.94 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.005069, allocations: 192 / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.00508, allocations: 4.375 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.005088, allocations: 6.906 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.005129, allocations: 11.92 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.005522, allocations: 299.7 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.124e-05/0.005603, allocations: 39 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.005628, allocations: 19.77 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.005644, allocations: 0.5625 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.00575, allocations: 89.41 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.005752, allocations: 0.9375 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001966/0.005948, allocations: 93.67 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.005979, allocations: 51.41 kB / 0.5244 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.00606, allocations: 179.4 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.006078, allocations: 25.7 kB / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.006139, allocations: 138.9 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.006156, allocations: 15.91 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.006206, allocations: 40.3 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.00632, allocations: 0.4884 MB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.006395, allocations: 63.09 kB / 0.5253 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.006473, allocations: 100.4 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.161e-05/0.006565, allocations: 104.4 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006567, allocations: 1.156 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000213/0.00678, allocations: 208.8 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.006814, allocations: 34.38 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.006819, allocations: 5.281 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.00683, allocations: 0 / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.00691, allocations: 11.98 kB / 0.5257 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.006917, allocations: 4 kB / 0.5257 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.701e-05/0.007004, allocations: 28.94 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.007021, allocations: 15.23 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB 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 9.715e-05/0.007118, allocations: 167.4 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.007134, allocations: 7.938 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.007281, allocations: 86.09 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.007284, allocations: 96 / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.007289, allocations: 3.984 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.007294, allocations: 3.984 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.00751, allocations: 329.3 kB / 0.5264 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.007512, allocations: 2.938 kB / 0.5264 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.007547, allocations: 4 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.00755, allocations: 4 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.007557, allocations: 0 / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.007559, allocations: 3.938 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.00756, allocations: 0 / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.007701, allocations: 231.8 kB / 0.5266 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-06/0.007709, allocations: 3.953 kB / 0.5266 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.007733, allocations: 13.48 kB / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.007769, allocations: 0 / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.007813, allocations: 7.984 kB / 0.5266 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.007819, allocations: 0 / 0.5266 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.007864, allocations: 135.7 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.007864, allocations: 0.5 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001766/0.008041, allocations: 26.22 kB / 0.5268 GB, free: 11.28 MB / 0.4948 GB 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.0001236/0.008165, allocations: 99.25 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.008352, allocations: 160.7 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008354, allocations: 0 / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.611e-05/0.00839, allocations: 30.11 kB / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.00859, allocations: 20.62 kB / 0.5271 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.009071, allocations: 167 kB / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.684e-05/0.009108, allocations: 59.36 kB / 0.5273 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.009133, allocations: 7.984 kB / 0.5273 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.009159, allocations: 12.5 kB / 0.5273 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.009159, allocations: 1.031 kB / 0.5273 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.003608/0.01277, allocations: 1.655 MB / 0.5289 GB, free: 9.102 MB / 0.4948 GB " [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.7420714646577835]