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.001319/0.001319, allocations: 83.62 kB / 19.16 MB, free: 2.535 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.001655/0.001655, allocations: 171.1 kB / 22.44 MB, free: 5.34 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.398/1.398, allocations: 177.2 MB / 202.8 MB, free: 9.207 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.183/1.183, allocations: 155 MB / 414.2 MB, free: 4.934 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 65.84 kB / 0.6191 GB, free: 4.16 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5483/0.5504, allocations: 102 MB / 0.7187 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002357/0.5528, allocations: 1.235 MB / 0.7199 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.5547, allocations: 1.577 MB / 0.7215 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.5548, allocations: 10.19 kB / 0.7215 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.555, allocations: 30.84 kB / 0.7215 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.5552, allocations: 74.2 kB / 0.7216 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.5565, allocations: 0.4978 MB / 0.7221 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008305/0.5574, allocations: 0.6558 MB / 0.7227 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.5577, allocations: 110.4 kB / 0.7228 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.5582, allocations: 376.1 kB / 0.7232 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.5585, allocations: 215.2 kB / 0.7234 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.5586, allocations: 68.88 kB / 0.7235 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.5588, allocations: 80.67 kB / 0.7235 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.5589, allocations: 85.17 kB / 0.7236 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003391/0.5593, allocations: 210.4 kB / 0.7238 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.5605, allocations: 0.7906 MB / 0.7246 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.5605, allocations: 0.7188 kB / 0.7246 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5605, allocations: 0 / 0.7246 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.5605, allocations: 4 kB / 0.7246 GB, free: 14.3 MB / 0.6231 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.001458/0.5619, allocations: 0.8756 MB / 0.7254 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.562, allocations: 12.3 kB / 0.7255 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.5621, allocations: 57.12 kB / 0.7255 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.5634, allocations: 402.7 kB / 0.7259 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.5635, allocations: 31 kB / 0.7259 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.804e-05/0.5636, allocations: 40.67 kB / 0.726 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/0.5644, allocations: 454.7 kB / 0.7264 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5644, allocations: 9.25 kB / 0.7264 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.5644, allocations: 7.922 kB / 0.7264 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.5644, allocations: 6 kB / 0.7264 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007797/0.5652, allocations: 383.3 kB / 0.7268 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.567, allocations: 0.7462 MB / 0.7275 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000724/0.5677, allocations: 478.3 kB / 0.728 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/0.5683, allocations: 400.1 kB / 0.7284 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.5683, allocations: 7.531 kB / 0.7284 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006756/0.569, allocations: 452.3 kB / 0.7288 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=44): time 2.625e-06/0.569, allocations: 0 / 0.7288 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44): time 0.001784/0.5708, allocations: 1.099 MB / 0.7299 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.5709, allocations: 197.2 kB / 0.7301 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.5712, allocations: 283.7 kB / 0.7303 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.5713, allocations: 43.7 kB / 0.7304 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.5714, allocations: 171.3 kB / 0.7305 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.5715, allocations: 139.2 kB / 0.7307 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.5718, allocations: 134.8 kB / 0.7308 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.5719, allocations: 347.1 kB / 0.7311 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007622/0.5727, allocations: 0.522 MB / 0.7316 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008463/0.5735, allocations: 0.6102 MB / 0.7322 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.5748, allocations: 0.9224 MB / 0.7331 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5748, allocations: 1.156 kB / 0.7331 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001843/0.5767, allocations: 1.261 MB / 0.7344 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.5768, allocations: 265.6 kB / 0.7346 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.5768, allocations: 2.156 kB / 0.7346 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5769, allocations: 5.609 kB / 0.7346 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.5771, allocations: 70.58 kB / 0.7347 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.5772, allocations: 6.125 kB / 0.7347 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/0.5779, allocations: 142.4 kB / 0.7348 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.578, allocations: 69.38 kB / 0.7349 GB, free: 7.156 MB / 0.6231 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.0003034/0.5783, allocations: 311.2 kB / 0.7352 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.5784, allocations: 42.25 kB / 0.7352 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.043e-05/0.5785, allocations: 38.47 kB / 0.7353 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5785, allocations: 4.516 kB / 0.7353 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5785, allocations: 1.375 kB / 0.7353 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5785, allocations: 5.781 kB / 0.7353 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.5804, allocations: 1.223 MB / 0.7365 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5804, allocations: 4 kB / 0.7365 GB, free: 6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.5806, allocations: 63.3 kB / 0.7365 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.5806, allocations: 2.219 kB / 0.7365 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.5806, allocations: 12.36 kB / 0.7366 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.5806, allocations: 6.062 kB / 0.7366 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5806, allocations: 0 / 0.7366 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.5819, allocations: 0.9012 MB / 0.7374 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.582, allocations: 35.27 kB / 0.7375 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.582, allocations: 9.688 kB / 0.7375 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.5822, allocations: 29.77 kB / 0.7375 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.816e-05/0.5823, allocations: 35.84 kB / 0.7375 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/0.5824, allocations: 52.56 kB / 0.7376 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002031/0.5826, allocations: 190.9 kB / 0.7378 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5826, allocations: 5.125 kB / 0.7378 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000445/0.5831, allocations: 108.6 kB / 0.7379 GB, free: 5.211 MB / 0.6231 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.0001745/0.5832, allocations: 126.1 kB / 0.738 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001806/0.585, allocations: 1.433 MB / 0.7394 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.585, allocations: 0 / 0.7394 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007134/0.5857, allocations: 0.6231 MB / 0.74 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.5863, allocations: 93.95 kB / 0.7401 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.5877, allocations: 0.9443 MB / 0.741 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.5879, allocations: 193.6 kB / 0.7412 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.5881, allocations: 91.23 kB / 0.7413 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.5882, allocations: 32.75 kB / 0.7413 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of SimCode: time 7.52e-07/0.5882, allocations: 0 / 0.7413 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of Templates: time 0.01297/0.6012, allocations: 7.059 MB / 0.7482 GB, free: 15.81 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.30488314665854] Failed to read output from testmodel.py, exit status != 0: 0.6104640401899815 0.623918919 0.060504836000000006 Calling exit ...