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.0007234/0.0007234, allocations: 100.4 kB / 19.7 MB, free: 448 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.0007618/0.0007618, allocations: 216.9 kB / 23 MB, free: 2.988 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.8645/0.8645, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.7376/0.7376, allocations: 203.5 MB / 0.5046 GB, free: 10.72 MB / 410.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/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.0008488/0.0008488, allocations: 70.45 kB / 0.719 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4653, allocations: 102 MB / 0.8186 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001804/0.4671, allocations: 1.415 MB / 0.82 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.4686, allocations: 1.755 MB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.4686, allocations: 0 / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.4696, allocations: 357.9 kB / 0.822 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.709e-05/0.4697, allocations: 16.17 kB / 0.822 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.4697, allocations: 4 kB / 0.822 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.4699, allocations: 122.3 kB / 0.8222 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.4699, allocations: 6.078 kB / 0.8222 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.47, allocations: 54.09 kB / 0.8222 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.4701, allocations: 61.98 kB / 0.8223 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.4701, allocations: 3.938 kB / 0.8223 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.4703, allocations: 172.9 kB / 0.8224 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.4704, allocations: 32.06 kB / 0.8225 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.4704, allocations: 59.08 kB / 0.8225 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.4708, allocations: 295.6 kB / 0.8228 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4708, allocations: 4 kB / 0.8228 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4708, allocations: 0 / 0.8228 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.4708, allocations: 0 / 0.8228 GB, free: 14.96 MB / 0.6198 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.0005667/0.4713, allocations: 426.2 kB / 0.8232 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.4714, allocations: 9.062 kB / 0.8232 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.747e-05/0.4715, allocations: 95.66 kB / 0.8233 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.4717, allocations: 238.8 kB / 0.8235 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.4717, allocations: 152.5 kB / 0.8237 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.4717, allocations: 167.2 kB / 0.8239 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.891e-05/0.4718, allocations: 109.8 kB / 0.824 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.4718, allocations: 75.28 kB / 0.824 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.4719, allocations: 153.1 kB / 0.8242 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.4719, allocations: 150.6 kB / 0.8243 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.216e-05/0.4719, allocations: 155.3 kB / 0.8245 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.4722, allocations: 460.9 kB / 0.8249 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/0.4723, allocations: 171.2 kB / 0.8251 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.4723, allocations: 84.19 kB / 0.8252 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.4723, allocations: 80.91 kB / 0.8252 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.4724, allocations: 112.2 kB / 0.8253 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.4724, allocations: 0 / 0.8253 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.000117/0.4725, allocations: 58.45 kB / 0.8254 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.4725, allocations: 131.4 kB / 0.8255 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.4728, allocations: 317.6 kB / 0.8258 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.4728, allocations: 30.8 kB / 0.8258 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.4729, allocations: 113.7 kB / 0.826 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.4729, allocations: 0 / 0.826 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.473, allocations: 61.48 kB / 0.826 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4731, allocations: 332.5 kB / 0.8263 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.4731, allocations: 67.36 kB / 0.8264 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.4732, allocations: 119.4 kB / 0.8265 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.4734, allocations: 211.4 kB / 0.8267 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4735, allocations: 1.094 kB / 0.8267 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003273/0.4738, allocations: 234.9 kB / 0.8269 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.4738, allocations: 9.906 kB / 0.8269 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4738, allocations: 1.969 kB / 0.8269 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4738, allocations: 2.719 kB / 0.827 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.265e-06/0.4738, allocations: 1.828 kB / 0.827 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.4738, allocations: 6.812 kB / 0.827 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.4739, allocations: 30.23 kB / 0.827 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.4739, allocations: 9.172 kB / 0.827 GB, free: 11.26 MB / 0.6198 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.000148/0.4741, allocations: 222.7 kB / 0.8272 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.4741, allocations: 119.8 kB / 0.8273 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.4742, allocations: 119.5 kB / 0.8274 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.387e-05/0.4742, allocations: 178.3 kB / 0.8276 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.896e-05/0.4743, allocations: 182.3 kB / 0.8278 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.114e-05/0.4743, allocations: 178.3 kB / 0.828 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.4745, allocations: 399.5 kB / 0.8283 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/0.4745, allocations: 105.7 kB / 0.8284 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.4746, allocations: 110.7 kB / 0.8285 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.983e-05/0.4746, allocations: 187.3 kB / 0.8287 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.4747, allocations: 182 kB / 0.8289 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.561e-05/0.4747, allocations: 178 kB / 0.8291 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.597e-05/0.4747, allocations: 182.1 kB / 0.8292 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.4749, allocations: 328.7 kB / 0.8295 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.4749, allocations: 121.2 kB / 0.8297 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/0.475, allocations: 186.8 kB / 0.8298 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.4751, allocations: 102.9 kB / 0.8299 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.4751, allocations: 182.5 kB / 0.8301 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.4751, allocations: 106.6 kB / 0.8302 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001738/0.4753, allocations: 219.1 kB / 0.8304 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4753, allocations: 0 / 0.8304 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002383/0.4755, allocations: 63.97 kB / 0.8305 GB, free: 7.773 MB / 0.6198 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.000607/0.4762, allocations: 281.3 kB / 0.8308 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.4763, allocations: 84.8 kB / 0.8308 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4763, allocations: 0 / 0.8308 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.4763, allocations: 1.672 kB / 0.8308 GB, free: 7.539 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.4766, allocations: 462.6 kB / 0.8313 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.4771, allocations: 421.4 kB / 0.8317 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.914e-05/0.4772, allocations: 130.5 kB / 0.8318 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.4772, allocations: 9.031 kB / 0.8318 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of SimCode: time 3.5e-07/0.4772, allocations: 0 / 0.8318 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of Templates: time 0.003812/0.481, allocations: 2.418 MB / 0.8342 GB, free: 6.441 MB / 0.6198 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.743696880061179] Failed to read output from testmodel.py, exit status != 0: 0.4866782817989588 0.49747899700000003 0.024145693000000003 Calling exit ...