Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007357/0.0007357, 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.0007501/0.0007501, 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.8439/0.8439, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7027/0.7027, allocations: 154.6 MB / 414.5 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.973e-05, allocations: 4.797 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001975/0.002004, allocations: 1.421 MB / 0.6207 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.004369, allocations: 2.394 MB / 0.623 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.004405, allocations: 7.938 kB / 0.623 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.005838, allocations: 0.5462 MB / 0.6236 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.005891, allocations: 23.84 kB / 0.6236 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.005896, allocations: 0 / 0.6236 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.006109, allocations: 174.8 kB / 0.6238 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.006162, allocations: 12.58 kB / 0.6238 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.804e-05/0.00625, allocations: 91.72 kB / 0.6239 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.006362, allocations: 55.84 kB / 0.6239 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.006378, allocations: 4 kB / 0.6239 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006876/0.007065, allocations: 411.4 kB / 0.6243 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.007129, allocations: 31.8 kB / 0.6243 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.00722, allocations: 63.84 kB / 0.6244 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.007734, allocations: 454.1 kB / 0.6248 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.00774, allocations: 4 kB / 0.6248 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.823e-06/0.007742, allocations: 4 kB / 0.6248 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.007746, allocations: 0 / 0.6248 GB, free: 7.516 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005808/0.008327, allocations: 480.8 kB / 0.6253 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.008364, allocations: 12.03 kB / 0.6253 GB, free: 7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.008472, allocations: 104 kB / 0.6254 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.008659, allocations: 251.8 kB / 0.6256 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.008709, allocations: 154.9 kB / 0.6258 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.008756, allocations: 158.9 kB / 0.6259 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.49e-05/0.008811, allocations: 101.5 kB / 0.626 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.008831, allocations: 79.47 kB / 0.6261 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.008871, allocations: 150.9 kB / 0.6263 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.008908, allocations: 154.9 kB / 0.6264 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.008953, allocations: 154.5 kB / 0.6266 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.009248, allocations: 497.2 kB / 0.627 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.009319, allocations: 165.1 kB / 0.6272 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.229e-05/0.009341, allocations: 80.14 kB / 0.6273 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.009366, allocations: 79.28 kB / 0.6273 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.009402, allocations: 105.8 kB / 0.6274 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.009403, allocations: 0 / 0.6274 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001287/0.009532, allocations: 61.44 kB / 0.6275 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.00958, allocations: 130.7 kB / 0.6276 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.009905, allocations: 437.3 kB / 0.628 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.009919, allocations: 29.7 kB / 0.6281 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.009985, allocations: 132.6 kB / 0.6282 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.009988, allocations: 0 / 0.6282 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.01005, allocations: 85.67 kB / 0.6283 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.01015, allocations: 342.8 kB / 0.6286 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.01023, allocations: 100.5 kB / 0.6287 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.01061, allocations: 161.9 kB / 0.6289 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.01082, allocations: 309.6 kB / 0.6292 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01082, allocations: 7.938 kB / 0.6292 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00034/0.01116, allocations: 337 kB / 0.6295 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01118, allocations: 4 kB / 0.6295 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.01119, allocations: 4 kB / 0.6295 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.0112, allocations: 0 / 0.6295 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.973e-06/0.0112, allocations: 4 kB / 0.6295 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01121, allocations: 0 / 0.6295 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.66e-05/0.0113, allocations: 43.5 kB / 0.6295 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.01131, allocations: 4 kB / 0.6295 GB, free: 2.477 MB / 0.5886 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.0001845/0.01149, allocations: 254.2 kB / 0.6298 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.01155, allocations: 128.7 kB / 0.6299 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.01159, allocations: 118.9 kB / 0.63 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.341e-05/0.01163, allocations: 180.2 kB / 0.6302 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.43e-05/0.01168, allocations: 192.3 kB / 0.6304 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-05/0.01172, allocations: 180.2 kB / 0.6305 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.01189, allocations: 424.8 kB / 0.6309 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/0.01191, allocations: 105 kB / 0.631 GB, free: 0.8398 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.01194, allocations: 113 kB / 0.6312 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.862e-05/0.01198, allocations: 180.2 kB / 0.6313 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.01202, allocations: 180.3 kB / 0.6315 GB, free: 364 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-05/0.01206, allocations: 188.2 kB / 0.6317 GB, free: 168 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.845e-05/0.0121, allocations: 176.3 kB / 0.6318 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.0122, allocations: 331.5 kB / 0.6322 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.01226, allocations: 124.8 kB / 0.6323 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.01231, allocations: 184.2 kB / 0.6325 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.01239, allocations: 109 kB / 0.6326 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.01243, allocations: 180.2 kB / 0.6327 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.01246, allocations: 101 kB / 0.6328 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001862/0.01264, allocations: 283.1 kB / 0.6331 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01264, allocations: 0 / 0.6331 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002926/0.01294, allocations: 83.88 kB / 0.6332 GB, free: 14.56 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: 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.0003032/0.01324, allocations: 314.2 kB / 0.6335 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.01339, allocations: 123.8 kB / 0.6336 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01339, allocations: 3.938 kB / 0.6336 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.01339, allocations: 0 / 0.6336 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01368, allocations: 467.2 kB / 0.634 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.01415, allocations: 0.4968 MB / 0.6345 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.01425, allocations: 168.6 kB / 0.6347 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.01427, allocations: 8.5 kB / 0.6347 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of SimCode: time 7.32e-07/0.01427, allocations: 0 / 0.6347 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.003775/0.01805, allocations: 3.271 MB / 0.6379 GB, free: 9.664 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.201817103661597] Failed to read output from testmodel.py, exit status != 0: 0.023754836060106754 0.032711566000000004 0.022993417000000002 Calling exit ...