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.000923/0.000923, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007249/0.008172, allocations: 440 kB / 10.41 MB, free: 284 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.0007297/0.0007297, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001224/0.001954, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9743/0.9743, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08958/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7829/0.7829, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.2885/1.071, allocations: 49.14 MB / 448.6 MB, free: 5.895 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-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.084e-06/2.084e-06, allocations: 0 / 449.9 MB, free: 4.598 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.52e-05, allocations: 4.984 kB / 449.9 MB, free: 4.594 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002494/0.002519, allocations: 1.312 MB / 451.3 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005209/0.007728, allocations: 1.623 MB / 452.9 MB, free: 1.688 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.007874, allocations: 5.75 kB / 452.9 MB, free: 1.684 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.007989, allocations: 36.75 kB / 452.9 MB, free: 1.648 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.008147, allocations: 80.56 kB / 453 MB, free: 1.59 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009304/0.009077, allocations: 479.3 kB / 453.5 MB, free: 1.125 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003804/0.01288, allocations: 0.6496 MB / 454.1 MB, free: 492 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.01314, allocations: 121.6 kB / 454.2 MB, free: 376 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000547/0.01369, allocations: 415.3 kB / 454.6 MB, free: 15.96 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.01397, allocations: 182 kB / 454.8 MB, free: 15.79 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.933e-05/0.01405, allocations: 48 kB / 454.9 MB, free: 15.74 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.0142, allocations: 63.98 kB / 454.9 MB, free: 15.68 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.01429, allocations: 55.8 kB / 455 MB, free: 15.62 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.01444, allocations: 123.8 kB / 455.1 MB, free: 15.5 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.01491, allocations: 359.4 kB / 455.5 MB, free: 15.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.549e-05/0.01493, allocations: 1.125 kB / 455.5 MB, free: 15.15 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.01493, allocations: 0 / 455.5 MB, free: 15.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.01494, allocations: 0 / 455.5 MB, free: 15.15 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.004108/0.01905, allocations: 0.9017 MB / 456.4 MB, free: 14.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.01909, allocations: 8.031 kB / 456.4 MB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.01921, allocations: 63.56 kB / 456.4 MB, free: 14.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.01957, allocations: 261.6 kB / 456.7 MB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.01961, allocations: 28.88 kB / 456.7 MB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.01968, allocations: 44.36 kB / 456.8 MB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.02008, allocations: 345.8 kB / 457.1 MB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.0201, allocations: 5.094 kB / 457.1 MB, free: 13.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.02012, allocations: 12.36 kB / 457.1 MB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.02013, allocations: 12.31 kB / 457.1 MB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.02031, allocations: 217.5 kB / 457.3 MB, free: 13.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/0.0243, allocations: 0.5239 MB / 457.9 MB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.02458, allocations: 267.1 kB / 458.1 MB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.02476, allocations: 233.9 kB / 458.4 MB, free: 12.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.02478, allocations: 4.594 kB / 458.4 MB, free: 12.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.0251, allocations: 340.7 kB / 458.7 MB, free: 11.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 3.346e-06/0.02511, allocations: 0 / 458.7 MB, free: 11.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006295/0.02574, allocations: 0.69 MB / 459.4 MB, free: 10.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.02577, allocations: 63.34 kB / 459.4 MB, free: 10.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.02598, allocations: 276 kB / 459.7 MB, free: 10.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.02603, allocations: 37.7 kB / 459.7 MB, free: 10.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.02615, allocations: 149.2 kB / 459.9 MB, free: 10.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.657e-05/0.02625, allocations: 135.9 kB / 460 MB, free: 10.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.02642, allocations: 126.1 kB / 460.1 MB, free: 10.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.02654, allocations: 348.1 kB / 460.5 MB, free: 9.695 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.02683, allocations: 376.2 kB / 460.9 MB, free: 9.273 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003341/0.03017, allocations: 473.1 kB / 461.3 MB, free: 8.727 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.03065, allocations: 0.6734 MB / 462 MB, free: 7.938 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.03065, allocations: 4.781 kB / 462 MB, free: 7.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007317/0.03138, allocations: 0.904 MB / 462.9 MB, free: 6.914 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.03152, allocations: 267.9 kB / 463.2 MB, free: 6.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.03153, allocations: 4 kB / 463.2 MB, free: 6.594 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.03155, allocations: 5.516 kB / 463.2 MB, free: 6.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.03175, allocations: 68.47 kB / 463.2 MB, free: 6.523 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.03176, allocations: 11.98 kB / 463.2 MB, free: 6.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.0321, allocations: 102.3 kB / 463.3 MB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/0.03219, allocations: 68.39 kB / 463.4 MB, free: 6.348 MB / 442.7 MB 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.0001947/0.03239, allocations: 283 kB / 463.7 MB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.03244, allocations: 49.5 kB / 463.7 MB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.03251, allocations: 39.42 kB / 463.8 MB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.03251, allocations: 5.312 kB / 463.8 MB, free: 5.941 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.03252, allocations: 3.938 kB / 463.8 MB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.03252, allocations: 0 / 463.8 MB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.03636, allocations: 0.8688 MB / 464.7 MB, free: 4.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.03637, allocations: 1.906 kB / 464.7 MB, free: 4.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.03654, allocations: 63.95 kB / 464.7 MB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.03658, allocations: 39.62 kB / 464.8 MB, free: 4.883 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.03659, allocations: 0 / 464.8 MB, free: 4.883 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.03661, allocations: 10.22 kB / 464.8 MB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.03661, allocations: 4 kB / 464.8 MB, free: 4.871 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.03661, allocations: 3.984 kB / 464.8 MB, free: 4.867 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.03703, allocations: 0.6073 MB / 465.4 MB, free: 4.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.03707, allocations: 8 kB / 465.4 MB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.0372, allocations: 21.67 kB / 465.4 MB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.03727, allocations: 35.94 kB / 465.4 MB, free: 4.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-05/0.03733, allocations: 57.36 kB / 465.5 MB, free: 4.062 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.095e-05/0.03743, allocations: 88.64 kB / 465.6 MB, free: 3.977 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03743, allocations: 0 / 465.6 MB, free: 3.977 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.0378, allocations: 109.5 kB / 465.7 MB, free: 3.871 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: 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.0001755/0.03797, allocations: 100.3 kB / 465.8 MB, free: 3.766 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008171/0.03879, allocations: 1.195 MB / 467 MB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.971e-05/0.03881, allocations: 8.594 kB / 467 MB, free: 2.367 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003343/0.04215, allocations: 0.5461 MB / 467.5 MB, free: 1.727 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.04273, allocations: 0.6149 MB / 468.2 MB, free: 1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.04399, allocations: 0.8528 MB / 469 MB, free: 92 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.454e-05/0.04408, allocations: 106.5 kB / 469.1 MB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.04422, allocations: 44.39 kB / 469.2 MB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/0.04457, allocations: 189.2 kB / 469.3 MB, free: 15.74 MB / 458.7 MB Notification: Performance of SimCode: time 1.233e-06/0.04457, allocations: 0.6875 kB / 469.3 MB, free: 15.74 MB / 458.7 MB Notification: Performance of Templates: time 0.01502/0.0596, allocations: 7.569 MB / 476.9 MB, free: 8.695 MB / 458.7 MB " [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.6691019842401147]