Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001084/0.001084, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001012/0.001012, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.8284/0.8284, allocations: 154.8 MB / 415.1 MB, free: 0.4961 MB / 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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0.9844 kB / 0.5206 GB, free: 2.305 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.217e-05, allocations: 6.031 kB / 0.5206 GB, free: 2.301 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002695/0.002727, allocations: 1.281 MB / 0.5218 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.005245, allocations: 1.602 MB / 0.5234 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.005389, allocations: 7.938 kB / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.005515, allocations: 27.61 kB / 0.5234 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.00563, allocations: 91.88 kB / 0.5235 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008148/0.006445, allocations: 492.4 kB / 0.524 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.006951, allocations: 0.6572 MB / 0.5246 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.00718, allocations: 109.3 kB / 0.5247 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.007495, allocations: 373 kB / 0.5251 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.007695, allocations: 191.5 kB / 0.5253 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.485e-05/0.00776, allocations: 64 kB / 0.5253 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.007861, allocations: 79.92 kB / 0.5254 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.007932, allocations: 79.69 kB / 0.5255 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.008077, allocations: 193.9 kB / 0.5257 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.008473, allocations: 486.5 kB / 0.5261 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.008476, allocations: 0 / 0.5261 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.008478, allocations: 0 / 0.5261 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.008484, allocations: 0 / 0.5261 GB, free: 12.62 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0007931/0.009277, allocations: 0.9559 MB / 0.5271 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.009312, allocations: 8.594 kB / 0.5271 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.009423, allocations: 76.66 kB / 0.5271 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.01003, allocations: 382.5 kB / 0.5275 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.01006, allocations: 32.81 kB / 0.5275 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.0101, allocations: 36.38 kB / 0.5276 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.0105, allocations: 398.7 kB / 0.528 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.0105, allocations: 1.719 kB / 0.528 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.01052, allocations: 8.375 kB / 0.528 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.01053, allocations: 8.125 kB / 0.528 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.01073, allocations: 263.4 kB / 0.5282 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008756/0.01161, allocations: 0.7773 MB / 0.529 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.01188, allocations: 332.6 kB / 0.5293 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.01207, allocations: 281.3 kB / 0.5296 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.01209, allocations: 11.98 kB / 0.5296 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.01235, allocations: 368.6 kB / 0.5299 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 1.954e-06/0.01236, allocations: 0 / 0.5299 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.0006865/0.01304, allocations: 0.8757 MB / 0.5308 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.01311, allocations: 195.9 kB / 0.531 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.01332, allocations: 318.3 kB / 0.5313 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.01336, allocations: 44.73 kB / 0.5313 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.01347, allocations: 215.6 kB / 0.5315 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.01354, allocations: 138.9 kB / 0.5317 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.0137, allocations: 147.7 kB / 0.5318 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.01386, allocations: 0.5157 MB / 0.5323 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.01417, allocations: 440.2 kB / 0.5327 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.01453, allocations: 0.5365 MB / 0.5333 GB, free: 4.668 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.01505, allocations: 0.7666 MB / 0.534 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.01506, allocations: 4 kB / 0.534 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008865/0.01594, allocations: 1.098 MB / 0.5351 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.01605, allocations: 269.6 kB / 0.5353 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.01606, allocations: 8 kB / 0.5353 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.01608, allocations: 4 kB / 0.5353 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.01624, allocations: 59.84 kB / 0.5354 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.01624, allocations: 5.781 kB / 0.5354 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.01652, allocations: 112.7 kB / 0.5355 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.01658, allocations: 67.92 kB / 0.5356 GB, free: 2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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 0.0001724/0.01675, allocations: 335.4 kB / 0.5359 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.0168, allocations: 55.77 kB / 0.536 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.01685, allocations: 47.36 kB / 0.536 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01686, allocations: 5.281 kB / 0.536 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01686, allocations: 0 / 0.536 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.01687, allocations: 3.984 kB / 0.536 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/0.0178, allocations: 1.107 MB / 0.5371 GB, free: 320 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.0178, allocations: 0 / 0.5371 GB, free: 320 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.01792, allocations: 55.91 kB / 0.5371 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01792, allocations: 4 kB / 0.5371 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.01794, allocations: 8.969 kB / 0.5372 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.01794, allocations: 4 kB / 0.5372 GB, free: 248 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01794, allocations: 0 / 0.5372 GB, free: 248 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.01848, allocations: 0.8073 MB / 0.5379 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.01851, allocations: 32.3 kB / 0.538 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.01854, allocations: 8.594 kB / 0.538 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.01863, allocations: 24.73 kB / 0.538 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.01871, allocations: 39.88 kB / 0.538 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.01875, allocations: 49.06 kB / 0.5381 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001182/0.01887, allocations: 215 kB / 0.5383 GB, free: 15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.01887, allocations: 0 / 0.5383 GB, free: 15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003/0.01917, allocations: 112.6 kB / 0.5384 GB, free: 14.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0001516/0.01932, allocations: 120.2 kB / 0.5385 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008139/0.02014, allocations: 1.272 MB / 0.5398 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02014, allocations: 0 / 0.5398 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.02043, allocations: 0.5557 MB / 0.5403 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.02079, allocations: 104.2 kB / 0.5404 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009302/0.02172, allocations: 0.8598 MB / 0.5412 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.632e-05/0.02178, allocations: 107.1 kB / 0.5413 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.02192, allocations: 77.2 kB / 0.5414 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.02198, allocations: 41.77 kB / 0.5415 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of SimCode: time 8.92e-07/0.02198, allocations: 0 / 0.5415 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.008617/0.0306, allocations: 7.02 MB / 0.5483 GB, free: 4.637 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.030398208880797]