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.0006954/0.0006954, allocations: 104.3 kB / 19.7 MB, free: 0.5664 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.0006933/0.0006933, allocations: 211.2 kB / 23 MB, free: 3.066 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.8922/0.8922, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7361/0.7361, allocations: 203.8 MB / 0.5049 GB, free: 10.4 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.0009231/0.0009231, allocations: 70.44 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4893, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001834/0.4912, allocations: 1.429 MB / 0.8204 GB, free: 348 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.4932, allocations: 2.4 MB / 0.8227 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.4933, allocations: 0 / 0.8227 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.4944, allocations: 0.5462 MB / 0.8233 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.4944, allocations: 26.02 kB / 0.8233 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.398e-06/0.4944, allocations: 0 / 0.8233 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.4947, allocations: 157.9 kB / 0.8234 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.505e-05/0.4947, allocations: 10.67 kB / 0.8234 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/0.4948, allocations: 65.12 kB / 0.8235 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.4949, allocations: 77.92 kB / 0.8236 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.4949, allocations: 3.375 kB / 0.8236 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.4955, allocations: 407.1 kB / 0.824 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.711e-05/0.4956, allocations: 38.45 kB / 0.824 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.4957, allocations: 79.83 kB / 0.8241 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005328/0.4963, allocations: 437.6 kB / 0.8245 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4963, allocations: 0 / 0.8245 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4963, allocations: 0.6094 kB / 0.8245 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.4963, allocations: 9.219 kB / 0.8245 GB, free: 14.03 MB / 0.6198 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.0006991/0.497, allocations: 495.8 kB / 0.825 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.497, allocations: 11.05 kB / 0.825 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.4971, allocations: 104.2 kB / 0.8251 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.4973, allocations: 239.1 kB / 0.8253 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.4974, allocations: 153.3 kB / 0.8255 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.4974, allocations: 157.1 kB / 0.8256 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.636e-05/0.4975, allocations: 103.3 kB / 0.8257 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.4975, allocations: 75.47 kB / 0.8258 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.4975, allocations: 160.1 kB / 0.8259 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/0.4976, allocations: 155.6 kB / 0.8261 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.4976, allocations: 151.8 kB / 0.8262 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.4979, allocations: 0.4886 MB / 0.8267 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.013e-05/0.498, allocations: 168.2 kB / 0.8269 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.498, allocations: 80.14 kB / 0.827 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.498, allocations: 76.41 kB / 0.827 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.498, allocations: 111.7 kB / 0.8271 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.498, allocations: 1.25 kB / 0.8271 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001337/0.4982, allocations: 58.75 kB / 0.8272 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.4982, allocations: 140 kB / 0.8273 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.4986, allocations: 434.9 kB / 0.8277 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.4986, allocations: 26.31 kB / 0.8278 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.4987, allocations: 128.6 kB / 0.8279 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.4987, allocations: 0 / 0.8279 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.4988, allocations: 90.3 kB / 0.828 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.4989, allocations: 340.2 kB / 0.8283 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.499, allocations: 103.1 kB / 0.8284 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.4991, allocations: 162.7 kB / 0.8286 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.4994, allocations: 303 kB / 0.8288 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4994, allocations: 1.344 kB / 0.8288 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004013/0.4998, allocations: 334.9 kB / 0.8292 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4998, allocations: 5.344 kB / 0.8292 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4998, allocations: 1.406 kB / 0.8292 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4998, allocations: 7.5 kB / 0.8292 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.445e-06/0.4998, allocations: 2.141 kB / 0.8292 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.4998, allocations: 2.188 kB / 0.8292 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.4999, allocations: 45.56 kB / 0.8292 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.4999, allocations: 4.578 kB / 0.8292 GB, free: 10.08 MB / 0.6198 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.000198/0.5001, allocations: 248.3 kB / 0.8295 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.5002, allocations: 130.1 kB / 0.8296 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.5002, allocations: 123.5 kB / 0.8297 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.164e-05/0.5003, allocations: 181.8 kB / 0.8299 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.457e-05/0.5003, allocations: 179.9 kB / 0.83 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.605e-05/0.5004, allocations: 182.2 kB / 0.8302 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.5006, allocations: 423.2 kB / 0.8306 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/0.5006, allocations: 105.6 kB / 0.8307 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.5006, allocations: 106.6 kB / 0.8308 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.954e-05/0.5007, allocations: 178.3 kB / 0.831 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.5007, allocations: 187.6 kB / 0.8312 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.069e-05/0.5008, allocations: 182.2 kB / 0.8314 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.611e-05/0.5008, allocations: 186.5 kB / 0.8315 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.5009, allocations: 323.5 kB / 0.8318 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.501, allocations: 128.2 kB / 0.832 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.501, allocations: 182.6 kB / 0.8321 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.5011, allocations: 111.3 kB / 0.8322 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.5012, allocations: 189.7 kB / 0.8324 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.5012, allocations: 102.9 kB / 0.8325 GB, free: 6.676 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002387/0.5014, allocations: 280.6 kB / 0.8328 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5014, allocations: 3.938 kB / 0.8328 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003287/0.5018, allocations: 86.83 kB / 0.8329 GB, free: 6.531 MB / 0.6198 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.0003115/0.5021, allocations: 305.8 kB / 0.8332 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.5023, allocations: 119.3 kB / 0.8333 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5023, allocations: 0 / 0.8333 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.5023, allocations: 1.406 kB / 0.8333 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.5025, allocations: 468 kB / 0.8337 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.5031, allocations: 0.5219 MB / 0.8342 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.5032, allocations: 167 kB / 0.8344 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.5033, allocations: 9.938 kB / 0.8344 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of SimCode: time 8.51e-07/0.5033, allocations: 0 / 0.8344 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of Templates: time 0.006566/0.5098, allocations: 3.254 MB / 0.8376 GB, free: 5.043 MB / 0.6198 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.5417127357795835] Failed to read output from testmodel.py, exit status != 0: 0.515418553724885 0.5258894070000001 0.027688744 Calling exit ...