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.0006674/0.0006674, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008845/0.001552, 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.0007304/0.0007304, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009124/0.001643, 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 1.055/1.055, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09137/1.146, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.8334/0.8334, allocations: 155.3 MB / 399.3 MB, free: 15.93 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.283/1.116, allocations: 49.13 MB / 448.4 MB, free: 6.004 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 1.432e-06/1.432e-06, allocations: 0 / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.388e-06/1.082e-05, allocations: 5.219 kB / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001562/0.001573, allocations: 1.309 MB / 451 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.003133, allocations: 1.624 MB / 452.6 MB, free: 1.832 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.704e-05/0.00323, allocations: 7.938 kB / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.299e-05/0.003313, allocations: 34.47 kB / 452.7 MB, free: 1.793 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.003428, allocations: 91.41 kB / 452.7 MB, free: 1.719 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.004127, allocations: 481.1 kB / 453.2 MB, free: 1.254 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.004675, allocations: 0.6401 MB / 453.9 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.004884, allocations: 117.6 kB / 454 MB, free: 0.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.005259, allocations: 423.9 kB / 454.4 MB, free: 88 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.00547, allocations: 169.6 kB / 454.5 MB, free: 15.92 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.005529, allocations: 49.41 kB / 454.6 MB, free: 15.87 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.005638, allocations: 64 kB / 454.7 MB, free: 15.81 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.005697, allocations: 55.73 kB / 454.7 MB, free: 15.75 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.005814, allocations: 123.8 kB / 454.8 MB, free: 15.63 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.006133, allocations: 355.3 kB / 455.2 MB, free: 15.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.006148, allocations: 0 / 455.2 MB, free: 15.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.006148, allocations: 0.625 kB / 455.2 MB, free: 15.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.006165, allocations: 5.5 kB / 455.2 MB, free: 15.29 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.0008213/0.006986, allocations: 0.904 MB / 456.1 MB, free: 14.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.007014, allocations: 10.12 kB / 456.1 MB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.053e-05/0.007094, allocations: 64.88 kB / 456.2 MB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.007358, allocations: 249.7 kB / 456.4 MB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.007385, allocations: 28.86 kB / 456.4 MB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.007428, allocations: 40.38 kB / 456.5 MB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.00772, allocations: 362.6 kB / 456.8 MB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.007729, allocations: 1.188 kB / 456.8 MB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.007745, allocations: 8.375 kB / 456.8 MB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.007752, allocations: 5.781 kB / 456.8 MB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.007881, allocations: 216.8 kB / 457.1 MB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.00855, allocations: 0.5236 MB / 457.6 MB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.008747, allocations: 274.2 kB / 457.8 MB, free: 12.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.008868, allocations: 233.9 kB / 458.1 MB, free: 12.15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.008881, allocations: 13.84 kB / 458.1 MB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.009083, allocations: 335.3 kB / 458.4 MB, free: 11.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.595e-06/0.009086, allocations: 1.891 kB / 458.4 MB, free: 11.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.0004319/0.009518, allocations: 0.6928 MB / 459.1 MB, free: 10.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.009561, allocations: 63.34 kB / 459.2 MB, free: 10.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.009702, allocations: 264 kB / 459.4 MB, free: 10.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.009741, allocations: 41.7 kB / 459.5 MB, free: 10.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.009812, allocations: 142 kB / 459.6 MB, free: 10.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.009881, allocations: 138.9 kB / 459.7 MB, free: 10.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.01001, allocations: 127 kB / 459.9 MB, free: 10.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.01009, allocations: 346.7 kB / 460.2 MB, free: 9.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.0103, allocations: 380.8 kB / 460.6 MB, free: 9.414 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.01055, allocations: 477 kB / 461 MB, free: 8.859 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.0109, allocations: 0.6739 MB / 461.7 MB, free: 8.074 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.01091, allocations: 4 kB / 461.7 MB, free: 8.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005299/0.01144, allocations: 0.8967 MB / 462.6 MB, free: 7.055 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.01154, allocations: 271.9 kB / 462.9 MB, free: 6.734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01155, allocations: 4.594 kB / 462.9 MB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.01156, allocations: 11.94 kB / 462.9 MB, free: 6.719 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.0117, allocations: 72.75 kB / 463 MB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.01171, allocations: 4 kB / 463 MB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.01196, allocations: 114.1 kB / 463.1 MB, free: 6.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.01202, allocations: 61.7 kB / 463.2 MB, free: 6.477 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.0001436/0.01216, allocations: 290.1 kB / 463.4 MB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.0122, allocations: 39.97 kB / 463.5 MB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.543e-05/0.01225, allocations: 40.05 kB / 463.5 MB, free: 6.074 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.01225, allocations: 4.812 kB / 463.5 MB, free: 6.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01225, allocations: 3.938 kB / 463.5 MB, free: 6.066 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.01226, allocations: 7.5 kB / 463.5 MB, free: 6.062 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.01285, allocations: 0.8652 MB / 464.4 MB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01285, allocations: 0 / 464.4 MB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.01297, allocations: 60.91 kB / 464.5 MB, free: 5.055 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.01299, allocations: 35.69 kB / 464.5 MB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.013, allocations: 0 / 464.5 MB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.01301, allocations: 16.58 kB / 464.5 MB, free: 5.004 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.01302, allocations: 4 kB / 464.5 MB, free: 5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01302, allocations: 1.75 kB / 464.5 MB, free: 5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.01334, allocations: 0.6073 MB / 465.1 MB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.01336, allocations: 8 kB / 465.1 MB, free: 4.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.01345, allocations: 29.59 kB / 465.2 MB, free: 4.277 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.01351, allocations: 31.94 kB / 465.2 MB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.01355, allocations: 47.94 kB / 465.2 MB, free: 4.199 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.174e-05/0.01361, allocations: 88.64 kB / 465.3 MB, free: 4.113 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01361, allocations: 0 / 465.3 MB, free: 4.113 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.01385, allocations: 108.9 kB / 465.4 MB, free: 4.008 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.0001102/0.01396, allocations: 105.9 kB / 465.5 MB, free: 3.898 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006065/0.01456, allocations: 1.183 MB / 466.7 MB, free: 2.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.998e-06/0.01457, allocations: 4 kB / 466.7 MB, free: 2.516 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.01479, allocations: 0.5138 MB / 467.2 MB, free: 1.906 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.01507, allocations: 121.1 kB / 467.3 MB, free: 1.793 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009617/0.01603, allocations: 0.834 MB / 468.2 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.108e-05/0.0161, allocations: 115.9 kB / 468.3 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.01621, allocations: 47.66 kB / 468.3 MB, free: 0.7266 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.01651, allocations: 193.2 kB / 468.5 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01651, allocations: 1.438 kB / 468.5 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of Templates: time 0.01023/0.02674, allocations: 7.631 MB / 476.2 MB, free: 9.453 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.8757209638133645]