Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.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.00106/0.00106, allocations: 76.45 kB / 19.9 MB, free: 12 kB / 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.001421/0.001421, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9165/0.9165, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7559/0.7559, allocations: 154.7 MB / 414.7 MB, free: 0.7344 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_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low") [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.001377/0.001377, allocations: 67.91 kB / 0.6195 GB, free: 13.15 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4711, allocations: 102 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002518/0.4736, allocations: 1.413 MB / 0.7205 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.4754, allocations: 1.751 MB / 0.7222 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.4754, allocations: 0.9375 kB / 0.7222 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009008/0.4763, allocations: 358 kB / 0.7225 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-05/0.4764, allocations: 16.38 kB / 0.7225 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.048e-06/0.4764, allocations: 1.031 kB / 0.7225 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.4766, allocations: 125 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.4766, allocations: 10.52 kB / 0.7227 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.166e-05/0.4767, allocations: 76.52 kB / 0.7227 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.4768, allocations: 58.48 kB / 0.7228 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.4768, allocations: 3.625 kB / 0.7228 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.4772, allocations: 177 kB / 0.723 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.4772, allocations: 27.16 kB / 0.723 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.4773, allocations: 60.23 kB / 0.723 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.4776, allocations: 295.8 kB / 0.7233 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4776, allocations: 0 / 0.7233 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4776, allocations: 0 / 0.7233 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.4777, allocations: 5.031 kB / 0.7233 GB, free: 21.11 MB / 0.6355 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.0004827/0.4781, allocations: 422.3 kB / 0.7237 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.4782, allocations: 10.31 kB / 0.7237 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.754e-05/0.4783, allocations: 98.31 kB / 0.7238 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.4784, allocations: 246.1 kB / 0.7241 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.4784, allocations: 153.2 kB / 0.7242 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.4785, allocations: 153.2 kB / 0.7244 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.261e-05/0.4785, allocations: 110.2 kB / 0.7245 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4785, allocations: 76.5 kB / 0.7245 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4785, allocations: 155.6 kB / 0.7247 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.4785, allocations: 151.6 kB / 0.7248 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.509e-05/0.4785, allocations: 151.8 kB / 0.725 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.4787, allocations: 472.7 kB / 0.7254 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.586e-05/0.4788, allocations: 166.5 kB / 0.7256 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.4788, allocations: 81.94 kB / 0.7257 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.4788, allocations: 75.28 kB / 0.7257 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.4788, allocations: 108.3 kB / 0.7258 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.4788, allocations: 1.219 kB / 0.7258 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001156/0.4789, allocations: 61.19 kB / 0.7259 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.4789, allocations: 130.7 kB / 0.726 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.4792, allocations: 318.9 kB / 0.7263 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.4792, allocations: 27.31 kB / 0.7264 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.4793, allocations: 117.5 kB / 0.7265 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.4793, allocations: 0 / 0.7265 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.4793, allocations: 61.95 kB / 0.7265 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.4794, allocations: 331.3 kB / 0.7268 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.4795, allocations: 67.42 kB / 0.7269 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.703e-05/0.4795, allocations: 115.7 kB / 0.727 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.4797, allocations: 211.8 kB / 0.7272 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4797, allocations: 0 / 0.7272 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003138/0.4801, allocations: 239.8 kB / 0.7274 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4801, allocations: 9.719 kB / 0.7275 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4801, allocations: 2.062 kB / 0.7275 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.4801, allocations: 2.25 kB / 0.7275 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-06/0.4801, allocations: 6.016 kB / 0.7275 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.4801, allocations: 6.25 kB / 0.7275 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.4802, allocations: 27.33 kB / 0.7275 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.4802, allocations: 5.422 kB / 0.7275 GB, free: 17.41 MB / 0.6355 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.0001403/0.4803, allocations: 227 kB / 0.7277 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.4804, allocations: 127.8 kB / 0.7278 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.4804, allocations: 120.8 kB / 0.728 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.4804, allocations: 177.6 kB / 0.7281 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.4804, allocations: 182.7 kB / 0.7283 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.4804, allocations: 181 kB / 0.7285 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.4806, allocations: 403.6 kB / 0.7289 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.4806, allocations: 106.2 kB / 0.729 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.22e-05/0.4806, allocations: 102.8 kB / 0.7291 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.799e-05/0.4806, allocations: 182.1 kB / 0.7292 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4806, allocations: 186.1 kB / 0.7294 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.95e-05/0.4807, allocations: 191.3 kB / 0.7296 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-05/0.4807, allocations: 178.6 kB / 0.7298 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.161e-05/0.4808, allocations: 323 kB / 0.7301 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.4808, allocations: 121.6 kB / 0.7302 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.4808, allocations: 190.9 kB / 0.7304 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.4809, allocations: 103.2 kB / 0.7305 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.4809, allocations: 182.3 kB / 0.7306 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.4809, allocations: 103.2 kB / 0.7307 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001775/0.4811, allocations: 214.6 kB / 0.7309 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4811, allocations: 0 / 0.7309 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003048/0.4814, allocations: 64.66 kB / 0.731 GB, free: 13.92 MB / 0.6355 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.0002977/0.4817, allocations: 270 kB / 0.7313 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.4819, allocations: 85.53 kB / 0.7313 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4819, allocations: 448 / 0.7313 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.4819, allocations: 4 kB / 0.7313 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.4821, allocations: 464.4 kB / 0.7318 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.4825, allocations: 396.1 kB / 0.7322 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.001e-05/0.4826, allocations: 131.9 kB / 0.7323 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.198e-05/0.4826, allocations: 4.031 kB / 0.7323 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.4826, allocations: 15.28 kB / 0.7323 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of SimCode: time 6.22e-07/0.4826, allocations: 0 / 0.7323 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.00463/0.4872, allocations: 2.272 MB / 0.7345 GB, free: 12.55 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.337187804048881] Failed to read output from testmodel.py, exit status != 0: 0.4949041400104761 0.503753082 0.024002804000000003 Calling exit ...