Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001447/0.001447, allocations: 88.72 kB / 19.44 MB, free: 356 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.001658/0.001658, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.483/1.483, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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-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 1.271/1.271, allocations: 154.8 MB / 414.3 MB, free: 460 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 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.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.639e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.172 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002682/0.002708, allocations: 1.419 MB / 0.5212 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00359/0.006298, allocations: 2.394 MB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.006327, allocations: 0 / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.008084, allocations: 0.5547 MB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.523e-05/0.008149, allocations: 25.12 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 4.469e-06/0.008154, allocations: 0 / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.008449, allocations: 170.8 kB / 0.5243 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.008499, allocations: 13.38 kB / 0.5243 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.008625, allocations: 79.8 kB / 0.5244 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.008764, allocations: 65.11 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.00878, allocations: 4 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009484/0.009728, allocations: 408.2 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.009787, allocations: 39.78 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.552e-05/0.009882, allocations: 59.8 kB / 0.5249 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006929/0.01057, allocations: 450.1 kB / 0.5253 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.01058, allocations: 4 kB / 0.5253 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.01058, allocations: 2.75 kB / 0.5253 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.01059, allocations: 0 / 0.5253 GB, free: 12.54 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008334/0.01142, allocations: 476.8 kB / 0.5258 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.01145, allocations: 11.97 kB / 0.5258 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.01162, allocations: 112 kB / 0.5259 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.01188, allocations: 247.8 kB / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.01198, allocations: 156.4 kB / 0.5263 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.01207, allocations: 158.9 kB / 0.5265 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.97e-05/0.01215, allocations: 101.5 kB / 0.5266 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.553e-05/0.0122, allocations: 79.45 kB / 0.5266 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/0.01227, allocations: 151.9 kB / 0.5268 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.798e-05/0.01235, allocations: 150.9 kB / 0.5269 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.01254, allocations: 163.4 kB / 0.5271 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.01299, allocations: 493.3 kB / 0.5275 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.0131, allocations: 165.1 kB / 0.5277 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.01315, allocations: 80.77 kB / 0.5278 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/0.0132, allocations: 75.94 kB / 0.5279 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.14e-05/0.01327, allocations: 109.8 kB / 0.528 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.01327, allocations: 5.156 kB / 0.528 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001759/0.01344, allocations: 53.52 kB / 0.528 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.01353, allocations: 134.7 kB / 0.5281 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.01413, allocations: 437.9 kB / 0.5286 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.01415, allocations: 25.7 kB / 0.5286 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01426, allocations: 133.2 kB / 0.5287 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.01426, allocations: 0.9062 kB / 0.5287 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.01436, allocations: 85.67 kB / 0.5288 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.01456, allocations: 342.8 kB / 0.5291 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.0147, allocations: 99.25 kB / 0.5292 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.01491, allocations: 169.8 kB / 0.5294 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.0153, allocations: 301.7 kB / 0.5297 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.0153, allocations: 0 / 0.5297 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000656/0.01596, allocations: 361 kB / 0.53 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.01598, allocations: 4 kB / 0.53 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.01599, allocations: 7.125 kB / 0.53 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.01601, allocations: 0 / 0.53 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-06/0.01601, allocations: 4 kB / 0.53 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01602, allocations: 0 / 0.53 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.01618, allocations: 51.5 kB / 0.5301 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.01619, allocations: 7.984 kB / 0.5301 GB, free: 7.484 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0002799/0.01647, allocations: 244.9 kB / 0.5303 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.01658, allocations: 130.5 kB / 0.5304 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.673e-05/0.01665, allocations: 114.8 kB / 0.5305 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001161/0.01677, allocations: 188.2 kB / 0.5307 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000101/0.01687, allocations: 180.4 kB / 0.5309 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001015/0.01697, allocations: 188.1 kB / 0.5311 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.01735, allocations: 421.6 kB / 0.5315 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.254e-05/0.01741, allocations: 104.9 kB / 0.5316 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.01747, allocations: 115.1 kB / 0.5317 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.865e-05/0.01757, allocations: 176.3 kB / 0.5319 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.01769, allocations: 188.2 kB / 0.532 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.605e-05/0.01778, allocations: 176.3 kB / 0.5322 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.772e-05/0.01788, allocations: 180.2 kB / 0.5324 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.0181, allocations: 336.1 kB / 0.5327 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.01822, allocations: 124.8 kB / 0.5328 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.01838, allocations: 184.9 kB / 0.533 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.01853, allocations: 104.9 kB / 0.5331 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.01865, allocations: 176.8 kB / 0.5333 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/0.01871, allocations: 110.4 kB / 0.5334 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003404/0.01905, allocations: 279.1 kB / 0.5336 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01905, allocations: 0 / 0.5336 GB, free: 3.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004235/0.01948, allocations: 87.86 kB / 0.5337 GB, free: 3.574 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004521/0.01993, allocations: 307.8 kB / 0.534 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.02027, allocations: 119.9 kB / 0.5341 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02027, allocations: 0 / 0.5341 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.02028, allocations: 0 / 0.5341 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.02078, allocations: 467.2 kB / 0.5346 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007013/0.02149, allocations: 0.4973 MB / 0.5351 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.02167, allocations: 164.1 kB / 0.5352 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.285e-05/0.02168, allocations: 4 kB / 0.5352 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.02171, allocations: 12.5 kB / 0.5352 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.02171, allocations: 0.625 kB / 0.5352 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of Templates: time 0.007361/0.02907, allocations: 3.066 MB / 0.5382 GB, free: 15.08 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.891376474988647]