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.0007235/0.0007235, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007396/0.0007396, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8422/0.8422, 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.7106/0.7106, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.0009468/0.0009468, allocations: 68.45 kB / 0.6195 GB, free: 13.16 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.4377/0.4386, allocations: 102 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002101/0.4407, allocations: 1.411 MB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.4423, allocations: 1.748 MB / 0.7222 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.4424, allocations: 0 / 0.7222 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009263/0.4433, allocations: 358.4 kB / 0.7225 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.82e-05/0.4434, allocations: 18.19 kB / 0.7225 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.991e-06/0.4434, allocations: 0 / 0.7225 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000271/0.4436, allocations: 132.9 kB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.501e-05/0.4437, allocations: 9.734 kB / 0.7227 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.4438, allocations: 68.7 kB / 0.7227 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.444, allocations: 60.34 kB / 0.7228 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.444, allocations: 2.812 kB / 0.7228 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.4443, allocations: 175.9 kB / 0.723 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.4444, allocations: 36.33 kB / 0.723 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.4444, allocations: 59.91 kB / 0.723 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.4448, allocations: 317.6 kB / 0.7234 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4448, allocations: 0.7969 kB / 0.7234 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4448, allocations: 1.156 kB / 0.7234 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4448, allocations: 0 / 0.7234 GB, free: 21.02 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.000538/0.4454, allocations: 425.9 kB / 0.7238 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4454, allocations: 8.688 kB / 0.7238 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.345e-05/0.4455, allocations: 95.78 kB / 0.7239 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.4457, allocations: 235.2 kB / 0.7241 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.4457, allocations: 152.1 kB / 0.7242 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.4457, allocations: 158.6 kB / 0.7244 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.3e-05/0.4458, allocations: 109.6 kB / 0.7245 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4458, allocations: 76.34 kB / 0.7246 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.4458, allocations: 151.7 kB / 0.7247 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.4458, allocations: 151.1 kB / 0.7248 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.4458, allocations: 156.1 kB / 0.725 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.446, allocations: 469.3 kB / 0.7254 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.06e-05/0.4461, allocations: 167.2 kB / 0.7256 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.4461, allocations: 80.14 kB / 0.7257 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.4461, allocations: 77.25 kB / 0.7258 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.4461, allocations: 106.8 kB / 0.7259 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/0.4461, allocations: 9.094 kB / 0.7259 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001374/0.4463, allocations: 57.58 kB / 0.7259 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.4463, allocations: 127.8 kB / 0.726 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.4466, allocations: 318.5 kB / 0.7263 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.4466, allocations: 30.62 kB / 0.7264 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.4467, allocations: 116.9 kB / 0.7265 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.4467, allocations: 0 / 0.7265 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.4467, allocations: 61.78 kB / 0.7265 GB, free: 18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.4468, allocations: 332.3 kB / 0.7269 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.4469, allocations: 67.86 kB / 0.7269 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.566e-05/0.447, allocations: 122.1 kB / 0.727 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.4471, allocations: 208 kB / 0.7272 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4472, allocations: 0 / 0.7272 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003319/0.4475, allocations: 239.4 kB / 0.7275 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4475, allocations: 10.42 kB / 0.7275 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4475, allocations: 3.031 kB / 0.7275 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4475, allocations: 2.016 kB / 0.7275 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-06/0.4475, allocations: 2.594 kB / 0.7275 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.4475, allocations: 6.047 kB / 0.7275 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/0.4476, allocations: 31.11 kB / 0.7275 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.4476, allocations: 3.906 kB / 0.7275 GB, free: 17.33 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.0001387/0.4478, allocations: 232.4 kB / 0.7277 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.4478, allocations: 123.9 kB / 0.7279 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.4478, allocations: 115.3 kB / 0.728 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.4478, allocations: 181.8 kB / 0.7281 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.4479, allocations: 178.4 kB / 0.7283 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.4479, allocations: 178.2 kB / 0.7285 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.448, allocations: 404.2 kB / 0.7289 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.448, allocations: 101.7 kB / 0.729 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.448, allocations: 110.8 kB / 0.7291 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.742e-05/0.448, allocations: 182.9 kB / 0.7292 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.4481, allocations: 185.9 kB / 0.7294 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.687e-05/0.4481, allocations: 186.1 kB / 0.7296 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-05/0.4481, allocations: 178.7 kB / 0.7298 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.176e-05/0.4482, allocations: 323.2 kB / 0.7301 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.4482, allocations: 126 kB / 0.7302 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.4482, allocations: 185.7 kB / 0.7304 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.4483, allocations: 104.8 kB / 0.7305 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/0.4483, allocations: 182.1 kB / 0.7307 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.4483, allocations: 102.1 kB / 0.7308 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001737/0.4485, allocations: 223.1 kB / 0.731 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4485, allocations: 0 / 0.731 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002752/0.4488, allocations: 64.41 kB / 0.731 GB, free: 13.83 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.0002756/0.449, allocations: 262.7 kB / 0.7313 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.4492, allocations: 88.23 kB / 0.7314 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4492, allocations: 1.125 kB / 0.7314 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.4492, allocations: 3.938 kB / 0.7314 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.4494, allocations: 463.4 kB / 0.7318 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.4498, allocations: 422.7 kB / 0.7322 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.641e-05/0.4499, allocations: 134.2 kB / 0.7323 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.45, allocations: 10.56 kB / 0.7323 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/0.45, allocations: 0 / 0.7323 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.003764/0.4537, allocations: 2.432 MB / 0.7347 GB, free: 12.5 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 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.510297820903361] Failed to read output from testmodel.py, exit status != 0: 0.4593831810634583 0.46790805399999996 0.021241403000000002 Calling exit ...