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.00132/0.00132, allocations: 78.81 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001411/0.001411, allocations: 164.2 kB / 22.45 MB, free: 5.375 MB / 14.72 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.484/1.484, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.181/1.181, allocations: 154.6 MB / 413.7 MB, free: 5.309 MB / 382.1 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 178] 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.685e-06/2.685e-06, allocations: 0 / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.551e-05, allocations: 3.031 kB / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003919/0.003955, allocations: 1.238 MB / 0.6197 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003395/0.00735, allocations: 1.57 MB / 0.6213 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.007524, allocations: 11.94 kB / 0.6213 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.007708, allocations: 31.59 kB / 0.6213 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.007948, allocations: 79.31 kB / 0.6214 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.009844, allocations: 0.4993 MB / 0.6219 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.01102, allocations: 0.6637 MB / 0.6225 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.01142, allocations: 109.3 kB / 0.6226 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006651/0.01208, allocations: 367.4 kB / 0.623 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004778/0.01256, allocations: 183.5 kB / 0.6231 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.01273, allocations: 68 kB / 0.6232 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.01296, allocations: 79.97 kB / 0.6233 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.01311, allocations: 83.62 kB / 0.6234 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003773/0.01348, allocations: 191.6 kB / 0.6235 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.0148, allocations: 0.7596 MB / 0.6243 GB, free: 14.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.0148, allocations: 0 / 0.6243 GB, free: 14.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.0148, allocations: 0 / 0.6243 GB, free: 14.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.01482, allocations: 4 kB / 0.6243 GB, free: 14.73 MB / 0.545 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.002206/0.01703, allocations: 0.8749 MB / 0.6251 GB, free: 13.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.01709, allocations: 13.47 kB / 0.6252 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.0173, allocations: 56.64 kB / 0.6252 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.01954, allocations: 408.7 kB / 0.6256 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/0.0196, allocations: 28.88 kB / 0.6256 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.01974, allocations: 44.36 kB / 0.6257 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.02098, allocations: 449 kB / 0.6261 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.02099, allocations: 4.188 kB / 0.6261 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.02104, allocations: 12.38 kB / 0.6261 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.02106, allocations: 12.12 kB / 0.6261 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.02242, allocations: 382.3 kB / 0.6265 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.02514, allocations: 0.7438 MB / 0.6272 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.02648, allocations: 475.6 kB / 0.6277 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.02754, allocations: 397.2 kB / 0.6281 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/0.02759, allocations: 7.938 kB / 0.6281 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.02881, allocations: 463.5 kB / 0.6285 GB, free: 10.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=44): time 4.038e-06/0.02881, allocations: 0 / 0.6285 GB, free: 10.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.003224/0.03204, allocations: 1.1 MB / 0.6296 GB, free: 8.898 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001843/0.03222, allocations: 199.9 kB / 0.6298 GB, free: 8.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/0.03274, allocations: 276.5 kB / 0.63 GB, free: 8.379 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.03289, allocations: 45.7 kB / 0.6301 GB, free: 8.328 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.03314, allocations: 164.9 kB / 0.6302 GB, free: 8.164 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.03335, allocations: 134.9 kB / 0.6304 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/0.03373, allocations: 134.1 kB / 0.6305 GB, free: 7.895 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000254/0.03399, allocations: 346.8 kB / 0.6308 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.0354, allocations: 0.5235 MB / 0.6313 GB, free: 6.969 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.03693, allocations: 0.6142 MB / 0.6319 GB, free: 6.262 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.03928, allocations: 0.9137 MB / 0.6328 GB, free: 5.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.03929, allocations: 4 kB / 0.6328 GB, free: 5.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.003397/0.04269, allocations: 1.261 MB / 0.6341 GB, free: 3.855 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002935/0.04299, allocations: 263.2 kB / 0.6343 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.043, allocations: 7.984 kB / 0.6343 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.04303, allocations: 4 kB / 0.6343 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.04354, allocations: 72.17 kB / 0.6344 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.04356, allocations: 4 kB / 0.6344 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.04483, allocations: 135.6 kB / 0.6345 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.04505, allocations: 79.84 kB / 0.6346 GB, free: 3.246 MB / 0.545 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.0005526/0.0456, allocations: 314.8 kB / 0.6349 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.04571, allocations: 39.75 kB / 0.6349 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.04584, allocations: 39.38 kB / 0.635 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.04585, allocations: 4 kB / 0.635 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.04587, allocations: 3.984 kB / 0.635 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.04588, allocations: 0 / 0.635 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.04927, allocations: 1.227 MB / 0.6362 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.04927, allocations: 0 / 0.6362 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.04971, allocations: 59.95 kB / 0.6362 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.04971, allocations: 4 kB / 0.6362 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/0.04976, allocations: 15.94 kB / 0.6363 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/0.04977, allocations: 7.984 kB / 0.6363 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.04978, allocations: 4 kB / 0.6363 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.05126, allocations: 0.8957 MB / 0.6371 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.05133, allocations: 39.7 kB / 0.6372 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.05137, allocations: 8 kB / 0.6372 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.0516, allocations: 23.97 kB / 0.6372 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.05171, allocations: 35.94 kB / 0.6372 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-05/0.05179, allocations: 59.81 kB / 0.6373 GB, free: 268 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002003/0.05199, allocations: 191.1 kB / 0.6375 GB, free: 76 kB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.05199, allocations: 0 / 0.6375 GB, free: 76 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005428/0.05254, allocations: 108 kB / 0.6376 GB, free: 15.96 MB / 0.5606 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.0002242/0.05276, allocations: 115.8 kB / 0.6377 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.05466, allocations: 1.434 MB / 0.6391 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.05466, allocations: 8.125 kB / 0.6391 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007356/0.0554, allocations: 0.6223 MB / 0.6397 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.05597, allocations: 84.42 kB / 0.6398 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.05744, allocations: 0.941 MB / 0.6407 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.05763, allocations: 188.3 kB / 0.6409 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002275/0.05786, allocations: 91.2 kB / 0.641 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/0.05795, allocations: 40.48 kB / 0.641 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.05795, allocations: 0 / 0.641 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of Templates: time 0.0135/0.07145, allocations: 6.973 MB / 0.6478 GB, free: 5.254 MB / 0.5606 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.973693415522575] Failed to read output from testmodel.py, exit status != 0: 0.0830031968653202 0.095471731 0.07755020600000001 Calling exit ...