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.0009139/0.0009139, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0008963/0.0008963, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.8993/0.8993, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.7731/0.7731, allocations: 154.9 MB / 415.1 MB, free: 240 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.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 2.104e-06/2.104e-06, allocations: 0 / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.481e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001784/0.001809, allocations: 1.247 MB / 0.5223 GB, free: 296 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.003444, allocations: 1.604 MB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.003557, allocations: 9.531 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.003673, allocations: 35.59 kB / 0.524 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.003786, allocations: 83.78 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.00458, allocations: 489.1 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.00511, allocations: 0.6558 MB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.005329, allocations: 126 kB / 0.5253 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.005699, allocations: 392.3 kB / 0.5256 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.005897, allocations: 173.1 kB / 0.5258 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.005958, allocations: 53.16 kB / 0.5259 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.006059, allocations: 60 kB / 0.5259 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.006126, allocations: 71.69 kB / 0.526 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.006252, allocations: 172.3 kB / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.006622, allocations: 422.7 kB / 0.5265 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.006625, allocations: 1.281 kB / 0.5265 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006625, allocations: 3.938 kB / 0.5266 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.006631, allocations: 0 / 0.5266 GB, free: 11.97 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.0008151/0.007446, allocations: 0.9488 MB / 0.5275 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.007484, allocations: 12.81 kB / 0.5275 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.203e-05/0.007576, allocations: 72.66 kB / 0.5276 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.007855, allocations: 295.1 kB / 0.5278 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.007886, allocations: 29.72 kB / 0.5279 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.00793, allocations: 40.36 kB / 0.5279 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.008234, allocations: 348.5 kB / 0.5282 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.008243, allocations: 192 / 0.5282 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.008262, allocations: 20.3 kB / 0.5283 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.00827, allocations: 8.375 kB / 0.5283 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.008403, allocations: 219.9 kB / 0.5285 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.009199, allocations: 0.7151 MB / 0.5292 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.009402, allocations: 292.8 kB / 0.5295 GB, free: 8.754 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.009528, allocations: 241.9 kB / 0.5297 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.00954, allocations: 8 kB / 0.5297 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.009749, allocations: 334.8 kB / 0.53 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 1.603e-06/0.009751, allocations: 0 / 0.53 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.0005104/0.01026, allocations: 0.7716 MB / 0.5308 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.01032, allocations: 191.9 kB / 0.531 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.01049, allocations: 322.1 kB / 0.5313 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.01053, allocations: 42.27 kB / 0.5313 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.932e-05/0.01063, allocations: 220.8 kB / 0.5315 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/0.01069, allocations: 134.9 kB / 0.5316 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.01083, allocations: 147.7 kB / 0.5318 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.01095, allocations: 0.5195 MB / 0.5323 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.01117, allocations: 384.9 kB / 0.5327 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.01142, allocations: 0.4927 MB / 0.5331 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.01176, allocations: 0.6783 MB / 0.5338 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.01176, allocations: 0 / 0.5338 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006442/0.01241, allocations: 1.007 MB / 0.5348 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-05/0.0125, allocations: 265.6 kB / 0.535 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01251, allocations: 4.938 kB / 0.535 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01252, allocations: 7.938 kB / 0.535 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.01265, allocations: 61 kB / 0.5351 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01266, allocations: 7.984 kB / 0.5351 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.01291, allocations: 122.9 kB / 0.5352 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/0.01297, allocations: 63.86 kB / 0.5353 GB, free: 2.082 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.0001569/0.01313, allocations: 329 kB / 0.5356 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.01317, allocations: 62.75 kB / 0.5357 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.01322, allocations: 31.44 kB / 0.5357 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.01322, allocations: 11.94 kB / 0.5357 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01323, allocations: 3.984 kB / 0.5357 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01323, allocations: 0 / 0.5357 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.01388, allocations: 0.9737 MB / 0.5367 GB, free: 0.5469 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.01388, allocations: 4 kB / 0.5367 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.961e-05/0.01398, allocations: 53.09 kB / 0.5367 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.01399, allocations: 7.984 kB / 0.5367 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.01401, allocations: 15.98 kB / 0.5367 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.01401, allocations: 8.531 kB / 0.5367 GB, free: 472 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01402, allocations: 0.7188 kB / 0.5367 GB, free: 472 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.01452, allocations: 0.7209 MB / 0.5374 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.01456, allocations: 53.06 kB / 0.5375 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.01459, allocations: 8 kB / 0.5375 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.01471, allocations: 19.98 kB / 0.5375 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.01477, allocations: 36.91 kB / 0.5376 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/0.01482, allocations: 51.88 kB / 0.5376 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001118/0.01493, allocations: 203 kB / 0.5378 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.01493, allocations: 0.5938 kB / 0.5378 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000368/0.0153, allocations: 116.5 kB / 0.5379 GB, free: 15.18 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.0001479/0.01545, allocations: 113.3 kB / 0.538 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007747/0.01623, allocations: 1.197 MB / 0.5392 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01623, allocations: 1.969 kB / 0.5392 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.01651, allocations: 0.5166 MB / 0.5397 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.01693, allocations: 92.77 kB / 0.5398 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009038/0.01784, allocations: 0.831 MB / 0.5406 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.339e-05/0.01791, allocations: 106.4 kB / 0.5407 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.01803, allocations: 46.67 kB / 0.5407 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.01837, allocations: 222.1 kB / 0.541 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of SimCode: time 7.01e-07/0.01837, allocations: 0 / 0.541 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.01078/0.02915, allocations: 7.522 MB / 0.5483 GB, free: 4.508 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: 3.6023382688872516]