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.0009636/0.0009636, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.002403, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009877/0.0009877, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002332, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9543/0.9543, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1135/1.068, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7736/0.7736, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3004/1.074, allocations: 49.14 MB / 448.6 MB, free: 5.887 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.242e-06/1.242e-06, allocations: 0 / 449.9 MB, free: 4.609 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.629e-05, allocations: 3.859 kB / 449.9 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001896/0.001912, allocations: 1.515 MB / 451.5 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.004438, allocations: 2.685 MB / 454.1 MB, free: 480 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.004466, allocations: 0 / 454.1 MB, free: 480 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.005617, allocations: 0.57 MB / 454.7 MB, free: 15.9 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.368e-05/0.00566, allocations: 17.41 kB / 454.7 MB, free: 15.89 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.046e-06/0.005663, allocations: 0 / 454.7 MB, free: 15.89 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.005849, allocations: 178.8 kB / 454.9 MB, free: 15.71 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.005896, allocations: 24.62 kB / 454.9 MB, free: 15.69 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.005996, allocations: 95.59 kB / 455 MB, free: 15.6 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.006092, allocations: 59.84 kB / 455.1 MB, free: 15.54 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.006104, allocations: 4 kB / 455.1 MB, free: 15.54 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006318/0.006736, allocations: 423 kB / 455.5 MB, free: 15.12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.006788, allocations: 31.86 kB / 455.5 MB, free: 15.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.763e-05/0.006866, allocations: 56.81 kB / 455.6 MB, free: 15.04 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.007302, allocations: 406.3 kB / 456 MB, free: 14.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.007311, allocations: 0.625 kB / 456 MB, free: 14.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007312, allocations: 3.938 kB / 456 MB, free: 14.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.00732, allocations: 1.312 kB / 456 MB, free: 14.64 MB / 442.7 MB 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.000554/0.007874, allocations: 0.5725 MB / 456.6 MB, free: 14.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.007903, allocations: 8.531 kB / 456.6 MB, free: 14.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.058e-05/0.007994, allocations: 89.58 kB / 456.6 MB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.008131, allocations: 243.8 kB / 456.9 MB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.008166, allocations: 154.9 kB / 457 MB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.008203, allocations: 158.9 kB / 457.2 MB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.52e-05/0.008249, allocations: 102.6 kB / 457.3 MB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.008268, allocations: 79.47 kB / 457.4 MB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.953e-05/0.008308, allocations: 150.9 kB / 457.5 MB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-05/0.008358, allocations: 167.6 kB / 457.7 MB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.562e-05/0.008403, allocations: 155.4 kB / 457.8 MB, free: 12.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.008599, allocations: 385 kB / 458.2 MB, free: 12.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.311e-05/0.008652, allocations: 165.1 kB / 458.4 MB, free: 12.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.008671, allocations: 88.67 kB / 458.5 MB, free: 12.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.008687, allocations: 76.72 kB / 458.5 MB, free: 11.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.008717, allocations: 105.8 kB / 458.6 MB, free: 11.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.008719, allocations: 0.9375 kB / 458.6 MB, free: 11.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001056/0.008824, allocations: 45.62 kB / 458.7 MB, free: 11.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.008863, allocations: 131.5 kB / 458.8 MB, free: 11.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.009134, allocations: 347.1 kB / 459.1 MB, free: 11.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.009142, allocations: 27.14 kB / 459.2 MB, free: 11.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.00919, allocations: 130.3 kB / 459.3 MB, free: 11.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-06/0.009192, allocations: 0 / 459.3 MB, free: 11.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.009247, allocations: 89.56 kB / 459.4 MB, free: 11.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.385e-05/0.009331, allocations: 343.5 kB / 459.7 MB, free: 10.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-05/0.00938, allocations: 47.48 kB / 459.8 MB, free: 10.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.009435, allocations: 98.53 kB / 459.9 MB, free: 10.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.009571, allocations: 213.5 kB / 460.1 MB, free: 10.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.009573, allocations: 0.875 kB / 460.1 MB, free: 10.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002628/0.009836, allocations: 254.3 kB / 460.3 MB, free: 10.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.009848, allocations: 6.188 kB / 460.3 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.009856, allocations: 4 kB / 460.3 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.009867, allocations: 0 / 460.3 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.455e-06/0.009869, allocations: 4.562 kB / 460.3 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.009872, allocations: 0.5938 kB / 460.3 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.009951, allocations: 43.52 kB / 460.4 MB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.009959, allocations: 8.594 kB / 460.4 MB, free: 10 MB / 442.7 MB 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 9.029e-05/0.01005, allocations: 206.3 kB / 460.6 MB, free: 9.793 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.01008, allocations: 105 kB / 460.7 MB, free: 9.684 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.01012, allocations: 121.9 kB / 460.8 MB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001689/0.01029, allocations: 181.4 kB / 461 MB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-05/0.01033, allocations: 177 kB / 461.2 MB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-05/0.01036, allocations: 184.2 kB / 461.3 MB, free: 9.008 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.01051, allocations: 365.8 kB / 461.7 MB, free: 8.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.01053, allocations: 106.1 kB / 461.8 MB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.01055, allocations: 101 kB / 461.9 MB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.01059, allocations: 128.8 kB / 462 MB, free: 8.277 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.642e-05/0.01063, allocations: 185 kB / 462.2 MB, free: 8.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.01067, allocations: 184.3 kB / 462.4 MB, free: 7.902 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-05/0.01071, allocations: 184.6 kB / 462.6 MB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.508e-05/0.01074, allocations: 177.3 kB / 462.7 MB, free: 7.535 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.207e-05/0.01083, allocations: 320 kB / 463.1 MB, free: 7.199 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.01089, allocations: 184.3 kB / 463.2 MB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.865e-05/0.01096, allocations: 105.6 kB / 463.3 MB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.011, allocations: 184.3 kB / 463.5 MB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.01102, allocations: 105.5 kB / 463.6 MB, free: 6.605 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.0111, allocations: 124.7 kB / 463.7 MB, free: 6.484 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0111, allocations: 0.5312 kB / 463.7 MB, free: 6.484 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.01132, allocations: 85.78 kB / 463.8 MB, free: 6.402 MB / 442.7 MB 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.0002602/0.01158, allocations: 296.8 kB / 464.1 MB, free: 6.121 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.01168, allocations: 83.61 kB / 464.2 MB, free: 6.039 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.01169, allocations: 4 kB / 464.2 MB, free: 6.035 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.01169, allocations: 0 / 464.2 MB, free: 6.035 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.01218, allocations: 498.5 kB / 464.7 MB, free: 5.547 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.014, allocations: 448 kB / 465.1 MB, free: 5.082 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.01404, allocations: 92.03 kB / 465.2 MB, free: 4.973 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.014e-05/0.01405, allocations: 4 kB / 465.2 MB, free: 4.969 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.01409, allocations: 56.03 kB / 465.3 MB, free: 4.914 MB / 442.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01409, allocations: 0 / 465.3 MB, free: 4.914 MB / 442.7 MB Notification: Performance of Templates: time 0.005417/0.01951, allocations: 4.339 MB / 469.6 MB, free: 0.9375 MB / 442.7 MB " [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.7309139957651496]