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.0008226/0.0008226, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009268/0.0009268, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.847/0.847, allocations: 177.1 MB / 203.5 MB, free: 5.746 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-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 0.6547/0.6547, allocations: 154.5 MB / 414.5 MB, free: 0.8477 MB / 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.755e-06/2.755e-06, allocations: 0 / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.93e-05, allocations: 5.672 kB / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001616/0.001645, allocations: 1.236 MB / 0.6205 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.002968, allocations: 1.575 MB / 0.622 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.003047, allocations: 7.938 kB / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.00315, allocations: 31.59 kB / 0.6221 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.638e-05/0.003236, allocations: 79.31 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.003893, allocations: 0.4992 MB / 0.6226 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.004279, allocations: 0.6597 MB / 0.6233 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.004469, allocations: 113.3 kB / 0.6234 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.0047, allocations: 363.5 kB / 0.6237 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.004872, allocations: 191.5 kB / 0.6239 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.004927, allocations: 64 kB / 0.624 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.351e-05/0.00501, allocations: 83.97 kB / 0.624 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.005072, allocations: 79.69 kB / 0.6241 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.005199, allocations: 191.6 kB / 0.6243 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000452/0.005651, allocations: 0.7596 MB / 0.625 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.005653, allocations: 0 / 0.625 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005654, allocations: 7.938 kB / 0.6251 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.00566, allocations: 3.984 kB / 0.6251 GB, free: 7.336 MB / 0.5886 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.0007468/0.006407, allocations: 0.8633 MB / 0.6259 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.006437, allocations: 13.47 kB / 0.6259 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.747e-05/0.006514, allocations: 56.64 kB / 0.626 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.007151, allocations: 408.7 kB / 0.6264 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.007174, allocations: 24.88 kB / 0.6264 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.007219, allocations: 40.36 kB / 0.6264 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.007605, allocations: 457 kB / 0.6269 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.007614, allocations: 192 / 0.6269 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.007634, allocations: 12.38 kB / 0.6269 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.007641, allocations: 12.12 kB / 0.6269 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.008005, allocations: 386.2 kB / 0.6272 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008223/0.008827, allocations: 0.7361 MB / 0.628 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.009223, allocations: 483.7 kB / 0.6284 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.009509, allocations: 392.9 kB / 0.6288 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.009524, allocations: 4 kB / 0.6288 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/0.009866, allocations: 455.5 kB / 0.6292 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=44): time 1.623e-06/0.009867, allocations: 0 / 0.6292 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of matching and sorting (n=44): time 0.0009071/0.01077, allocations: 1.096 MB / 0.6303 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.01084, allocations: 199.9 kB / 0.6305 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.01101, allocations: 280.5 kB / 0.6308 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.01105, allocations: 41.7 kB / 0.6308 GB, free: 0.9727 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.01114, allocations: 176.8 kB / 0.631 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/0.01121, allocations: 130.9 kB / 0.6311 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.01133, allocations: 134.1 kB / 0.6312 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.01142, allocations: 350.8 kB / 0.6316 GB, free: 184 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.01182, allocations: 0.5235 MB / 0.6321 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.01225, allocations: 0.6142 MB / 0.6327 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.01288, allocations: 0.9136 MB / 0.6336 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01288, allocations: 0 / 0.6336 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009443/0.01383, allocations: 1.261 MB / 0.6348 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/0.01392, allocations: 263.2 kB / 0.6351 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01392, allocations: 0 / 0.6351 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.01393, allocations: 4 kB / 0.6351 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01408, allocations: 76.11 kB / 0.6351 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01408, allocations: 4 kB / 0.6351 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.0144, allocations: 147.6 kB / 0.6353 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/0.01446, allocations: 67.92 kB / 0.6353 GB, free: 11.89 MB / 0.6042 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.0001609/0.01462, allocations: 312.3 kB / 0.6356 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.01465, allocations: 39.8 kB / 0.6357 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.01469, allocations: 47.31 kB / 0.6357 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01469, allocations: 7.984 kB / 0.6357 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.0147, allocations: 0 / 0.6357 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.0147, allocations: 4 kB / 0.6357 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009245/0.01563, allocations: 1.227 MB / 0.6369 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01563, allocations: 0 / 0.6369 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.01574, allocations: 63.89 kB / 0.637 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01574, allocations: 4 kB / 0.637 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.01576, allocations: 15.94 kB / 0.637 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.01576, allocations: 7.984 kB / 0.637 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01576, allocations: 0 / 0.637 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/0.01636, allocations: 0.8957 MB / 0.6379 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.01639, allocations: 35.7 kB / 0.6379 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.01641, allocations: 12 kB / 0.6379 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.885e-05/0.01651, allocations: 27.91 kB / 0.638 GB, free: 8.984 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.01657, allocations: 35.94 kB / 0.638 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.01661, allocations: 51.92 kB / 0.638 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001313/0.01674, allocations: 195.1 kB / 0.6382 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01674, allocations: 0 / 0.6382 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000252/0.01699, allocations: 107.9 kB / 0.6383 GB, free: 8.602 MB / 0.6042 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.000114/0.0171, allocations: 120.1 kB / 0.6384 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000941/0.01805, allocations: 1.438 MB / 0.6399 GB, free: 6.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01805, allocations: 4.062 kB / 0.6399 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.01838, allocations: 0.6223 MB / 0.6405 GB, free: 6.121 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.01869, allocations: 102.9 kB / 0.6406 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007747/0.01946, allocations: 0.9547 MB / 0.6415 GB, free: 5.004 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.01956, allocations: 188.3 kB / 0.6417 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.01962, allocations: 44.48 kB / 0.6417 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.01962, allocations: 0 / 0.6417 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of Templates: time 0.004447/0.02407, allocations: 5.683 MB / 0.6473 GB, free: 15.12 MB / 0.6198 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.1798975905403495] Failed to read output from testmodel.py, exit status != 0: 0.029730756767094135 0.036016991000000005 0.028874884000000003 Calling exit ...