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.0007765/0.0007765, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008167/0.0008167, allocations: 203.8 kB / 23 MB, free: 3.125 MB / 13.93 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.8869/0.8869, allocations: 230.6 MB / 256.8 MB, free: 3.473 MB / 202.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.7338/0.7338, allocations: 203.8 MB / 0.5049 GB, free: 0.7227 MB / 410.7 MB " [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: 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.0009411/0.0009411, allocations: 67.91 kB / 0.7194 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4818, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002261/0.4841, allocations: 1.446 MB / 0.8205 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002419/0.4865, allocations: 2.713 MB / 0.8231 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.4866, allocations: 0 / 0.8231 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.4878, allocations: 0.5952 MB / 0.8237 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.4879, allocations: 24.94 kB / 0.8237 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.368e-06/0.4879, allocations: 0 / 0.8237 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.4881, allocations: 155.2 kB / 0.8239 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.4882, allocations: 11.17 kB / 0.8239 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.113e-05/0.4883, allocations: 67.27 kB / 0.824 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.4884, allocations: 82.45 kB / 0.824 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.4884, allocations: 2.656 kB / 0.824 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009111/0.4893, allocations: 467.3 kB / 0.8245 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.4894, allocations: 37.83 kB / 0.8245 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.4895, allocations: 101 kB / 0.8246 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.4901, allocations: 444.2 kB / 0.825 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4901, allocations: 0 / 0.825 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4901, allocations: 0 / 0.825 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4901, allocations: 1.438 kB / 0.825 GB, free: 21.51 MB / 0.6355 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.0006015/0.4907, allocations: 494.3 kB / 0.8255 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4907, allocations: 10.66 kB / 0.8255 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.4908, allocations: 105.4 kB / 0.8256 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.491, allocations: 250.5 kB / 0.8259 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.491, allocations: 152.5 kB / 0.826 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.491, allocations: 153.8 kB / 0.8262 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.561e-05/0.4911, allocations: 103.8 kB / 0.8263 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4911, allocations: 75.47 kB / 0.8263 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4911, allocations: 154.5 kB / 0.8265 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.4911, allocations: 162.5 kB / 0.8266 GB, free: 20 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.495e-05/0.4911, allocations: 156.5 kB / 0.8268 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002139/0.4913, allocations: 0.5026 MB / 0.8273 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.827e-05/0.4914, allocations: 171.2 kB / 0.8274 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.4914, allocations: 85.42 kB / 0.8275 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.4914, allocations: 75.28 kB / 0.8276 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.4914, allocations: 111.5 kB / 0.8277 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4914, allocations: 0 / 0.8277 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001184/0.4915, allocations: 59.92 kB / 0.8277 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.4916, allocations: 126.7 kB / 0.8279 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.4919, allocations: 440.4 kB / 0.8283 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.4919, allocations: 29.7 kB / 0.8283 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.492, allocations: 130.7 kB / 0.8284 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.492, allocations: 0 / 0.8284 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.492, allocations: 90.06 kB / 0.8285 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.4921, allocations: 339.8 kB / 0.8289 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.4922, allocations: 99.44 kB / 0.8289 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.4923, allocations: 175 kB / 0.8291 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.4926, allocations: 297.5 kB / 0.8294 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4926, allocations: 0 / 0.8294 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003872/0.493, allocations: 330.4 kB / 0.8297 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.493, allocations: 7.25 kB / 0.8297 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.493, allocations: 9.312 kB / 0.8297 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.493, allocations: 2.75 kB / 0.8297 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.597e-06/0.493, allocations: 3.141 kB / 0.8297 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.493, allocations: 2.109 kB / 0.8297 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.4931, allocations: 44.55 kB / 0.8298 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.4931, allocations: 5.094 kB / 0.8298 GB, free: 17.52 MB / 0.6355 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.000122/0.4933, allocations: 247.3 kB / 0.83 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.4933, allocations: 133.1 kB / 0.8301 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.4933, allocations: 123.9 kB / 0.8303 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.4933, allocations: 186.1 kB / 0.8304 GB, free: 16.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.4934, allocations: 178 kB / 0.8306 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.4934, allocations: 182.2 kB / 0.8308 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.4935, allocations: 449.3 kB / 0.8312 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/0.4935, allocations: 101.7 kB / 0.8313 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.4935, allocations: 110.6 kB / 0.8314 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/0.4935, allocations: 177.9 kB / 0.8316 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.4936, allocations: 186.2 kB / 0.8318 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-05/0.4936, allocations: 182.3 kB / 0.8319 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.911e-05/0.4936, allocations: 186.2 kB / 0.8321 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.092e-05/0.4937, allocations: 323 kB / 0.8324 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.4937, allocations: 135 kB / 0.8326 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.4937, allocations: 186.1 kB / 0.8327 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.307e-05/0.4938, allocations: 107.3 kB / 0.8328 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.4938, allocations: 186.2 kB / 0.833 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.4938, allocations: 105.6 kB / 0.8331 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002207/0.4941, allocations: 280.9 kB / 0.8334 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4941, allocations: 0 / 0.8334 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003083/0.4944, allocations: 86.11 kB / 0.8335 GB, free: 13.92 MB / 0.6355 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.0002698/0.4946, allocations: 294.9 kB / 0.8337 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.4948, allocations: 125.6 kB / 0.8339 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4948, allocations: 0 / 0.8339 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.4948, allocations: 2.266 kB / 0.8339 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.495, allocations: 462.8 kB / 0.8343 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.4955, allocations: 0.5265 MB / 0.8348 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.4956, allocations: 0.7772 MB / 0.8356 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.4957, allocations: 9.625 kB / 0.8356 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/0.4957, allocations: 4.906 kB / 0.8356 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.00472/0.5004, allocations: 3.154 MB / 0.8387 GB, free: 11.81 MB / 0.6355 GB " [Timeout remaining time 659] 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.693858289858326] Failed to read output from testmodel.py, exit status != 0: 0.5063884311821312 0.514638256 0.022784013000000002 Calling exit ...