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.001077/0.001077, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.001181/0.001181, allocations: 173 kB / 23.28 MB, free: 1.215 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.9059/0.9059, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7782/0.7782, allocations: 154.9 MB / 415.1 MB, free: 268 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.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.613e-06/1.613e-06, allocations: 0 / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.599e-05, allocations: 5.25 kB / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002024/0.00205, allocations: 1.454 MB / 0.5225 GB, free: 92 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.004278, allocations: 2.607 MB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.004315, allocations: 0 / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.005478, allocations: 0.5663 MB / 0.5256 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.005535, allocations: 32.66 kB / 0.5257 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 4.118e-06/0.005539, allocations: 0 / 0.5257 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.005764, allocations: 172 kB / 0.5258 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.00582, allocations: 8.594 kB / 0.5258 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.601e-05/0.005916, allocations: 83.77 kB / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.006024, allocations: 61.19 kB / 0.526 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.006041, allocations: 4 kB / 0.526 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006267/0.006667, allocations: 406.8 kB / 0.5264 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.006718, allocations: 35.8 kB / 0.5264 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.006779, allocations: 62.59 kB / 0.5265 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.007194, allocations: 430.2 kB / 0.5269 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.007197, allocations: 0 / 0.5269 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.007198, allocations: 3.938 kB / 0.5269 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.007202, allocations: 3.938 kB / 0.5269 GB, free: 11.64 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.0005809/0.007783, allocations: 0.5889 MB / 0.5274 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.007826, allocations: 9.062 kB / 0.5275 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.00794, allocations: 147.9 kB / 0.5276 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.008112, allocations: 291.4 kB / 0.5279 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/0.008178, allocations: 242.7 kB / 0.5281 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.008245, allocations: 242.8 kB / 0.5283 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.196e-05/0.008317, allocations: 146.4 kB / 0.5285 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.008352, allocations: 123.4 kB / 0.5286 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/0.008414, allocations: 243.2 kB / 0.5288 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-05/0.008472, allocations: 238.8 kB / 0.5291 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.277e-05/0.008535, allocations: 247 kB / 0.5293 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.008841, allocations: 0.6269 MB / 0.5299 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.644e-05/0.008927, allocations: 266.7 kB / 0.5302 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.008962, allocations: 138.8 kB / 0.5303 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.008994, allocations: 123.2 kB / 0.5304 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/0.00904, allocations: 157.2 kB / 0.5306 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.903e-06/0.009042, allocations: 1.312 kB / 0.5306 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 0.0001161/0.009158, allocations: 57.45 kB / 0.5306 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.009233, allocations: 170.6 kB / 0.5308 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.009518, allocations: 474.2 kB / 0.5312 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.00953, allocations: 32.14 kB / 0.5313 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.009616, allocations: 199.3 kB / 0.5314 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.009618, allocations: 0 / 0.5314 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.009704, allocations: 127.2 kB / 0.5316 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.009849, allocations: 0.5312 MB / 0.5321 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.009888, allocations: 32.64 kB / 0.5321 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.009975, allocations: 144.6 kB / 0.5323 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.01012, allocations: 209.4 kB / 0.5325 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01012, allocations: 0 / 0.5325 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003001/0.01042, allocations: 245.1 kB / 0.5327 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.01044, allocations: 8 kB / 0.5327 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.01044, allocations: 0 / 0.5327 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.01046, allocations: 7.938 kB / 0.5327 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-06/0.01046, allocations: 4.609 kB / 0.5327 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.01047, allocations: 4 kB / 0.5327 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.42e-05/0.01055, allocations: 40.91 kB / 0.5327 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.01056, allocations: 7.938 kB / 0.5328 GB, free: 5.363 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.00012/0.01068, allocations: 282.7 kB / 0.533 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.01074, allocations: 172.7 kB / 0.5332 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.332e-05/0.01079, allocations: 158.8 kB / 0.5333 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.696e-05/0.01085, allocations: 269.7 kB / 0.5336 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.223e-05/0.01091, allocations: 268.1 kB / 0.5339 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.175e-05/0.01097, allocations: 268 kB / 0.5341 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.01119, allocations: 0.5355 MB / 0.5346 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-05/0.01122, allocations: 144.9 kB / 0.5348 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.01126, allocations: 153.5 kB / 0.5349 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.714e-05/0.01131, allocations: 264.7 kB / 0.5352 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/0.01137, allocations: 272 kB / 0.5354 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.148e-05/0.01143, allocations: 272.6 kB / 0.5357 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-05/0.01149, allocations: 264.7 kB / 0.5359 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.01164, allocations: 467.7 kB / 0.5364 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.01169, allocations: 178.1 kB / 0.5366 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.733e-05/0.01177, allocations: 268.1 kB / 0.5368 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.01185, allocations: 145.2 kB / 0.537 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.01192, allocations: 284 kB / 0.5372 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.01195, allocations: 145.5 kB / 0.5374 GB, free: 476 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001259/0.01208, allocations: 255 kB / 0.5376 GB, free: 220 kB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01208, allocations: 0.625 kB / 0.5376 GB, free: 220 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002737/0.01235, allocations: 85.03 kB / 0.5377 GB, free: 136 kB / 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.0003334/0.01269, allocations: 359.2 kB / 0.538 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.01283, allocations: 106.6 kB / 0.5381 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01283, allocations: 0 / 0.5381 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.01283, allocations: 0 / 0.5381 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.01315, allocations: 0.7154 MB / 0.5388 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.01371, allocations: 496.1 kB / 0.5393 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.27e-05/0.01376, allocations: 104.8 kB / 0.5394 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.977e-06/0.01377, allocations: 0 / 0.5394 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.01381, allocations: 74.2 kB / 0.5395 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/0.01381, allocations: 0 / 0.5395 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.005754/0.01957, allocations: 4.392 MB / 0.5438 GB, free: 10 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5653815427795053]