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.0007813/0.0007813, allocations: 80.94 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.0009767/0.0009767, allocations: 173 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 0.988/0.988, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.8348/0.8348, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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.012e-06/1.012e-06, allocations: 0 / 480 MB, free: 7.016 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.584e-05, allocations: 2.312 kB / 480 MB, free: 7.012 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002688/0.002704, allocations: 1.479 MB / 481.4 MB, free: 5.551 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.005891, allocations: 2.642 MB / 484.1 MB, free: 2.938 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.005914, allocations: 0 / 484.1 MB, free: 2.938 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.007339, allocations: 0.5781 MB / 484.7 MB, free: 2.359 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.167e-05/0.00739, allocations: 20.47 kB / 484.7 MB, free: 2.34 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.705e-06/0.007393, allocations: 0.625 kB / 484.7 MB, free: 2.34 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.007611, allocations: 174.8 kB / 484.8 MB, free: 2.168 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.007656, allocations: 15.19 kB / 484.9 MB, free: 2.152 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.00776, allocations: 80.42 kB / 484.9 MB, free: 2.074 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.007867, allocations: 63.83 kB / 485 MB, free: 2.012 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.007879, allocations: 0.625 kB / 485 MB, free: 2.012 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007672/0.008646, allocations: 406.8 kB / 485.4 MB, free: 1.617 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.008698, allocations: 36.83 kB / 485.4 MB, free: 1.582 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.00878, allocations: 59.81 kB / 485.5 MB, free: 1.523 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.009269, allocations: 430.8 kB / 485.9 MB, free: 1.102 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.009271, allocations: 0 / 485.9 MB, free: 1.102 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.009271, allocations: 1.312 kB / 485.9 MB, free: 1.102 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.009274, allocations: 3.938 kB / 485.9 MB, free: 1.098 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.0003952/0.009669, allocations: 455.1 kB / 486.4 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.406e-05/0.009693, allocations: 8.031 kB / 486.4 MB, free: 0.6211 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.114e-05/0.009774, allocations: 98.3 kB / 486.5 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.009894, allocations: 243.8 kB / 486.7 MB, free: 272 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.009929, allocations: 154.9 kB / 486.9 MB, free: 116 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.009991, allocations: 156 kB / 487 MB, free: 15.96 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.548e-05/0.01003, allocations: 101.5 kB / 487.1 MB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.01004, allocations: 75.47 kB / 487.2 MB, free: 15.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.01007, allocations: 151.9 kB / 487.3 MB, free: 15.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.01011, allocations: 155.8 kB / 487.5 MB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.01015, allocations: 167.1 kB / 487.6 MB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.01031, allocations: 381.8 kB / 488 MB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.01036, allocations: 165.7 kB / 488.2 MB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.01038, allocations: 81.58 kB / 488.3 MB, free: 14.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.0104, allocations: 79.28 kB / 488.3 MB, free: 14.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.01043, allocations: 109.8 kB / 488.4 MB, free: 14.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 5.71e-07/0.01043, allocations: 0 / 488.4 MB, free: 14.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 8.601e-05/0.01052, allocations: 42.41 kB / 488.5 MB, free: 14.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.01056, allocations: 130.7 kB / 488.6 MB, free: 14.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.01079, allocations: 345 kB / 489 MB, free: 13.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.0108, allocations: 25.7 kB / 489 MB, free: 13.92 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.01084, allocations: 132.5 kB / 489.1 MB, free: 13.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.01085, allocations: 0 / 489.1 MB, free: 13.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.01091, allocations: 85.56 kB / 489.2 MB, free: 13.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.01099, allocations: 342.7 kB / 489.5 MB, free: 13.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.865e-05/0.01104, allocations: 52.11 kB / 489.6 MB, free: 13.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.0111, allocations: 98.62 kB / 489.7 MB, free: 13.19 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.01124, allocations: 217.5 kB / 489.9 MB, free: 12.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.01124, allocations: 0.5 kB / 489.9 MB, free: 12.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000306/0.01154, allocations: 247.8 kB / 490.1 MB, free: 12.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.01155, allocations: 9.375 kB / 490.1 MB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01156, allocations: 0 / 490.1 MB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.01157, allocations: 4 kB / 490.1 MB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.795e-06/0.01157, allocations: 0 / 490.1 MB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.01157, allocations: 4.938 kB / 490.1 MB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.01165, allocations: 47.52 kB / 490.2 MB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.01166, allocations: 4 kB / 490.2 MB, free: 12.63 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 8.405e-05/0.01175, allocations: 201.1 kB / 490.4 MB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.01179, allocations: 112.9 kB / 490.5 MB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.312e-05/0.01183, allocations: 119.7 kB / 490.6 MB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-05/0.01188, allocations: 184.3 kB / 490.8 MB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.973e-05/0.01192, allocations: 176.9 kB / 491 MB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.014e-05/0.01196, allocations: 182.2 kB / 491.2 MB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.01211, allocations: 365.3 kB / 491.5 MB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/0.01213, allocations: 108.9 kB / 491.6 MB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.01216, allocations: 113 kB / 491.7 MB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.297e-05/0.01221, allocations: 176.3 kB / 491.9 MB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.01225, allocations: 184.2 kB / 492.1 MB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.942e-05/0.01229, allocations: 180.8 kB / 492.3 MB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-05/0.01233, allocations: 182 kB / 492.4 MB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.39e-05/0.01242, allocations: 315.7 kB / 492.7 MB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.01247, allocations: 124.8 kB / 492.9 MB, free: 9.816 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.01252, allocations: 184.2 kB / 493 MB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.01259, allocations: 104.9 kB / 493.1 MB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.01263, allocations: 186 kB / 493.3 MB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.01266, allocations: 104.9 kB / 493.4 MB, free: 9.223 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.314e-05/0.01274, allocations: 116.7 kB / 493.5 MB, free: 9.109 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01274, allocations: 4 kB / 493.5 MB, free: 9.105 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.01297, allocations: 79.94 kB / 493.6 MB, free: 9.027 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.0002891/0.01326, allocations: 308 kB / 493.9 MB, free: 8.738 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.556e-05/0.01336, allocations: 79.19 kB / 494 MB, free: 8.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.01336, allocations: 0 / 494 MB, free: 8.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.01336, allocations: 4.625 kB / 494 MB, free: 8.656 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.01356, allocations: 468.4 kB / 494.5 MB, free: 8.195 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.01403, allocations: 451.3 kB / 494.9 MB, free: 7.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.01407, allocations: 91.83 kB / 495 MB, free: 7.621 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.204e-06/0.01408, allocations: 2.469 kB / 495 MB, free: 7.621 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.01411, allocations: 59.36 kB / 495.1 MB, free: 7.562 MB / 458.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01412, allocations: 0 / 495.1 MB, free: 7.562 MB / 458.7 MB Notification: Performance of Templates: time 0.005845/0.01996, allocations: 4.333 MB / 499.4 MB, free: 3.551 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 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7776773716323078]