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.001378/0.001378, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00122/0.00122, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.477 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-545:108: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-545:116: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.9149/0.9149, allocations: 154.6 MB / 414.8 MB, free: 0.4961 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 1.603e-06/1.603e-06, allocations: 0 / 480 MB, free: 6.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.335e-05, allocations: 3.078 kB / 480 MB, free: 6.855 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002809/0.002832, allocations: 1.516 MB / 481.5 MB, free: 5.363 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.005176, allocations: 2.655 MB / 484.2 MB, free: 2.738 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.005203, allocations: 0.625 kB / 484.2 MB, free: 2.738 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.00622, allocations: 0.5736 MB / 484.8 MB, free: 2.164 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.602e-05/0.006266, allocations: 24.66 kB / 484.8 MB, free: 2.141 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.036e-06/0.006269, allocations: 1.781 kB / 484.8 MB, free: 2.141 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.006479, allocations: 166.8 kB / 484.9 MB, free: 1.977 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.006527, allocations: 22.48 kB / 485 MB, free: 1.953 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.335e-05/0.006611, allocations: 79.78 kB / 485 MB, free: 1.875 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.006714, allocations: 64.48 kB / 485.1 MB, free: 1.812 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.006725, allocations: 0 / 485.1 MB, free: 1.812 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005687/0.007293, allocations: 419.7 kB / 485.5 MB, free: 1.406 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.007337, allocations: 39.83 kB / 485.6 MB, free: 1.367 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.00739, allocations: 56.73 kB / 485.6 MB, free: 1.312 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.007779, allocations: 438.1 kB / 486 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.007781, allocations: 0 / 486 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007782, allocations: 0.875 kB / 486 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.007786, allocations: 0 / 486 MB, free: 0.8828 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.0004432/0.008229, allocations: 456.4 kB / 486.5 MB, free: 424 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.00826, allocations: 15.97 kB / 486.5 MB, free: 408 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.929e-05/0.008349, allocations: 88.2 kB / 486.6 MB, free: 320 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.008478, allocations: 240.5 kB / 486.8 MB, free: 56 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.008526, allocations: 154.9 kB / 487 MB, free: 15.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.008561, allocations: 155.6 kB / 487.1 MB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.466e-05/0.008605, allocations: 106.6 kB / 487.2 MB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.008625, allocations: 76.78 kB / 487.3 MB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.008658, allocations: 158.9 kB / 487.5 MB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.008692, allocations: 150.9 kB / 487.6 MB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.219e-05/0.008724, allocations: 158.4 kB / 487.8 MB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.008885, allocations: 378.2 kB / 488.1 MB, free: 14.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.878e-05/0.008954, allocations: 173.1 kB / 488.3 MB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.008975, allocations: 81.02 kB / 488.4 MB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.008995, allocations: 76.5 kB / 488.4 MB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.009027, allocations: 109.8 kB / 488.6 MB, free: 14.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.009028, allocations: 1.406 kB / 488.6 MB, free: 14.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001022/0.00913, allocations: 45.62 kB / 488.6 MB, free: 14.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.009168, allocations: 126.7 kB / 488.7 MB, free: 14.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.009363, allocations: 343.6 kB / 489.1 MB, free: 13.74 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.009373, allocations: 29.7 kB / 489.1 MB, free: 13.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.009418, allocations: 129.1 kB / 489.2 MB, free: 13.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.00942, allocations: 1.438 kB / 489.2 MB, free: 13.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.009477, allocations: 89.58 kB / 489.3 MB, free: 13.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.009558, allocations: 342.7 kB / 489.6 MB, free: 13.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-05/0.009611, allocations: 51.48 kB / 489.7 MB, free: 13.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.118e-05/0.009672, allocations: 102.4 kB / 489.8 MB, free: 12.97 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.009811, allocations: 206.2 kB / 490 MB, free: 12.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.009813, allocations: 0.7812 kB / 490 MB, free: 12.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003051/0.01012, allocations: 253.9 kB / 490.2 MB, free: 12.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01013, allocations: 4 kB / 490.2 MB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01014, allocations: 4.938 kB / 490.2 MB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.01015, allocations: 0 / 490.2 MB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.633e-06/0.01016, allocations: 8 kB / 490.3 MB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01016, allocations: 4.469 kB / 490.3 MB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.01029, allocations: 52 kB / 490.3 MB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.0103, allocations: 0 / 490.3 MB, free: 12.41 MB / 458.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 0.0001202/0.01042, allocations: 209.4 kB / 490.5 MB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.01048, allocations: 109 kB / 490.6 MB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.01053, allocations: 115.8 kB / 490.7 MB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.208e-05/0.01059, allocations: 180.3 kB / 490.9 MB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.256e-05/0.01063, allocations: 185.8 kB / 491.1 MB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.726e-05/0.01068, allocations: 185.1 kB / 491.3 MB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.01091, allocations: 361.3 kB / 491.6 MB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/0.01094, allocations: 109 kB / 491.7 MB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.01097, allocations: 101 kB / 491.8 MB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.412e-05/0.01103, allocations: 189.2 kB / 492 MB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.01108, allocations: 176.3 kB / 492.2 MB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.173e-05/0.01113, allocations: 176.8 kB / 492.4 MB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-05/0.01119, allocations: 184.2 kB / 492.5 MB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.01133, allocations: 317.9 kB / 492.9 MB, free: 9.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.0114, allocations: 128.8 kB / 493 MB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-05/0.01149, allocations: 180.2 kB / 493.2 MB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.01162, allocations: 105 kB / 493.3 MB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.01168, allocations: 178.5 kB / 493.4 MB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.01172, allocations: 104.9 kB / 493.5 MB, free: 9.016 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.01187, allocations: 129.2 kB / 493.7 MB, free: 8.891 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01187, allocations: 0.5312 kB / 493.7 MB, free: 8.891 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003856/0.01226, allocations: 86.14 kB / 493.7 MB, free: 8.809 MB / 458.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.0003748/0.01263, allocations: 301.5 kB / 494 MB, free: 8.523 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.01277, allocations: 74.84 kB / 494.1 MB, free: 8.449 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.01278, allocations: 4 kB / 494.1 MB, free: 8.445 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.01278, allocations: 0.625 kB / 494.1 MB, free: 8.445 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.01311, allocations: 478.5 kB / 494.6 MB, free: 7.977 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.01382, allocations: 446.1 kB / 495 MB, free: 7.516 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.881e-05/0.01389, allocations: 88.58 kB / 495.1 MB, free: 7.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.395e-05/0.0139, allocations: 7.984 kB / 495.1 MB, free: 7.402 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.01395, allocations: 55.39 kB / 495.2 MB, free: 7.348 MB / 458.7 MB Notification: Performance of SimCode: time 1.103e-06/0.01395, allocations: 0.9688 kB / 495.2 MB, free: 7.348 MB / 458.7 MB Notification: Performance of Templates: time 0.006546/0.0205, allocations: 4.342 MB / 499.5 MB, free: 3.316 MB / 458.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9202322801575065]