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.001006/0.001006, allocations: 93.06 kB / 19.65 MB, free: 276 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.001151/0.001151, allocations: 165 kB / 23.02 MB, free: 1.551 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.115/1.115, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.8086/0.8086, allocations: 154.8 MB / 414.7 MB, free: 472 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.756e-06/2.756e-06, allocations: 0 / 0.5206 GB, free: 1.941 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.327e-05, allocations: 6.703 kB / 0.5206 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00541/0.005443, allocations: 1.285 MB / 0.5218 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005251/0.01069, allocations: 1.617 MB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.01086, allocations: 7.938 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.01101, allocations: 27.61 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.01117, allocations: 81.16 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.01227, allocations: 491 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007714/0.01304, allocations: 0.6574 MB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.01333, allocations: 109.3 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004576/0.01379, allocations: 371.4 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.01406, allocations: 200.4 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-05/0.01416, allocations: 64 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.01429, allocations: 76.95 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.818e-05/0.01438, allocations: 87.61 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.01459, allocations: 187.6 kB / 0.5257 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005588/0.01515, allocations: 483.6 kB / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.01515, allocations: 0 / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.803e-06/0.01515, allocations: 0 / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.976e-06/0.01516, allocations: 1.5 kB / 0.5261 GB, free: 12.25 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.001129/0.01629, allocations: 0.9515 MB / 0.5271 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.01633, allocations: 13.12 kB / 0.5271 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.01649, allocations: 76.64 kB / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.01734, allocations: 377.6 kB / 0.5275 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.01738, allocations: 24.88 kB / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.01746, allocations: 45.3 kB / 0.5276 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.01798, allocations: 398.4 kB / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.01799, allocations: 192 / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.01802, allocations: 13.16 kB / 0.528 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.01803, allocations: 12.12 kB / 0.528 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.01831, allocations: 264.3 kB / 0.5282 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.01956, allocations: 0.769 MB / 0.529 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.01994, allocations: 324.9 kB / 0.5293 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.02016, allocations: 293.7 kB / 0.5296 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.02018, allocations: 8 kB / 0.5296 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/0.02046, allocations: 374.8 kB / 0.5299 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 2.415e-06/0.02047, allocations: 0 / 0.5299 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.0007366/0.0212, allocations: 0.8724 MB / 0.5308 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.02127, allocations: 196.8 kB / 0.531 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.02148, allocations: 318.3 kB / 0.5313 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.02152, allocations: 45.7 kB / 0.5313 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.02163, allocations: 216.3 kB / 0.5315 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.787e-05/0.02171, allocations: 139.4 kB / 0.5317 GB, free: 6.094 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.02186, allocations: 135.8 kB / 0.5318 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.022, allocations: 0.5202 MB / 0.5323 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.02232, allocations: 440.7 kB / 0.5327 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.02269, allocations: 0.5472 MB / 0.5332 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.0232, allocations: 0.7564 MB / 0.534 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.0232, allocations: 3.938 kB / 0.534 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008839/0.02409, allocations: 1.109 MB / 0.5351 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.02419, allocations: 263.2 kB / 0.5353 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.0242, allocations: 0 / 0.5353 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.02422, allocations: 12.98 kB / 0.5353 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.02439, allocations: 59.91 kB / 0.5354 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.0244, allocations: 9.094 kB / 0.5354 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.02468, allocations: 110.7 kB / 0.5355 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/0.02475, allocations: 63.92 kB / 0.5356 GB, free: 1.625 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.0001841/0.02494, allocations: 329 kB / 0.5359 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.02499, allocations: 62.78 kB / 0.5359 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.02504, allocations: 51.28 kB / 0.536 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.02505, allocations: 4 kB / 0.536 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.02505, allocations: 0 / 0.536 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.02506, allocations: 0 / 0.536 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008755/0.02593, allocations: 1.102 MB / 0.5371 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.02594, allocations: 4 kB / 0.5371 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.02605, allocations: 53.19 kB / 0.5371 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.02606, allocations: 4 kB / 0.5371 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.02608, allocations: 15.98 kB / 0.5371 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.02608, allocations: 4.656 kB / 0.5371 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.02608, allocations: 0 / 0.5371 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.0266, allocations: 0.7956 MB / 0.5379 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.02663, allocations: 41.2 kB / 0.538 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.02666, allocations: 11.98 kB / 0.538 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.02675, allocations: 19.98 kB / 0.538 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.02683, allocations: 39.94 kB / 0.538 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.02688, allocations: 48.84 kB / 0.5381 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001269/0.02701, allocations: 215 kB / 0.5383 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.02701, allocations: 0.5938 kB / 0.5383 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002954/0.0273, allocations: 111.9 kB / 0.5384 GB, free: 14.52 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.0001445/0.02745, allocations: 113.4 kB / 0.5385 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008034/0.02825, allocations: 1.276 MB / 0.5397 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.02825, allocations: 3.938 kB / 0.5397 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.02854, allocations: 0.5573 MB / 0.5403 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.02891, allocations: 107.1 kB / 0.5404 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.02978, allocations: 0.8649 MB / 0.5412 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.566e-05/0.02985, allocations: 102.4 kB / 0.5413 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.02998, allocations: 82.39 kB / 0.5414 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.03004, allocations: 32.5 kB / 0.5414 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of SimCode: time 8.91e-07/0.03004, allocations: 0.5625 kB / 0.5414 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of Templates: time 0.009153/0.03919, allocations: 7.027 MB / 0.5483 GB, free: 4.262 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.232549825217575]