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.001043/0.001043, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001154/0.001154, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8387/0.8387, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.6809/0.6809, allocations: 154.6 MB / 414.5 MB, free: 0.7891 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.925e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002696/0.002726, allocations: 1.41 MB / 0.6207 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.005022, allocations: 1.744 MB / 0.6224 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.005058, allocations: 0 / 0.6224 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.006293, allocations: 361.8 kB / 0.6227 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.00635, allocations: 15.91 kB / 0.6228 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.679e-06/0.006355, allocations: 7.938 kB / 0.6228 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.006593, allocations: 131.1 kB / 0.6229 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.03e-05/0.006654, allocations: 17.55 kB / 0.6229 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.622e-05/0.00675, allocations: 67.8 kB / 0.623 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.006873, allocations: 51.89 kB / 0.623 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.006891, allocations: 0 / 0.623 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.007294, allocations: 171.8 kB / 0.6232 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.007351, allocations: 31.91 kB / 0.6232 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.781e-05/0.007419, allocations: 55.84 kB / 0.6233 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.007876, allocations: 294.9 kB / 0.6235 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.00788, allocations: 0 / 0.6235 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.633e-06/0.007882, allocations: 0 / 0.6235 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.007889, allocations: 4 kB / 0.6235 GB, free: 8.812 MB / 0.5886 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.0006936/0.008583, allocations: 417.2 kB / 0.6239 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.008624, allocations: 8.031 kB / 0.624 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.008778, allocations: 100.1 kB / 0.6241 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.009, allocations: 232.4 kB / 0.6243 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.009051, allocations: 162.9 kB / 0.6244 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.009104, allocations: 158.9 kB / 0.6246 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.393e-05/0.009168, allocations: 105.5 kB / 0.6247 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.009194, allocations: 75.47 kB / 0.6248 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.009241, allocations: 154.7 kB / 0.6249 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/0.009289, allocations: 154.6 kB / 0.625 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.701e-05/0.009336, allocations: 154.6 kB / 0.6252 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.009669, allocations: 457.4 kB / 0.6256 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.206e-05/0.009751, allocations: 173.1 kB / 0.6258 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.009782, allocations: 80.14 kB / 0.6259 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.009809, allocations: 83.27 kB / 0.626 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.009853, allocations: 109.8 kB / 0.6261 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.009854, allocations: 0 / 0.6261 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001695/0.01002, allocations: 53.55 kB / 0.6261 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.01008, allocations: 130.6 kB / 0.6262 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.01041, allocations: 325.6 kB / 0.6265 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.01042, allocations: 25.7 kB / 0.6266 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.0105, allocations: 116.5 kB / 0.6267 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-06/0.01051, allocations: 0 / 0.6267 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.01058, allocations: 61.69 kB / 0.6267 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.01069, allocations: 330.8 kB / 0.6271 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.213e-05/0.01079, allocations: 67.95 kB / 0.6271 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.0109, allocations: 122 kB / 0.6272 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.01113, allocations: 209.8 kB / 0.6274 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.01113, allocations: 0 / 0.6274 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004202/0.01155, allocations: 229.4 kB / 0.6277 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.01157, allocations: 9.875 kB / 0.6277 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.01158, allocations: 3.984 kB / 0.6277 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.01159, allocations: 4 kB / 0.6277 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.896e-06/0.0116, allocations: 3.938 kB / 0.6277 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.0116, allocations: 4 kB / 0.6277 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.01173, allocations: 35.61 kB / 0.6277 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.01174, allocations: 8.219 kB / 0.6277 GB, free: 4.324 MB / 0.5886 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.0001987/0.01194, allocations: 226.1 kB / 0.6279 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.012, allocations: 120.8 kB / 0.628 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.01205, allocations: 121.5 kB / 0.6282 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.107e-05/0.0121, allocations: 180.2 kB / 0.6283 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.769e-05/0.01216, allocations: 188.2 kB / 0.6285 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.498e-05/0.01222, allocations: 184.2 kB / 0.6287 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.01244, allocations: 396.8 kB / 0.6291 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.421e-05/0.01248, allocations: 104.9 kB / 0.6292 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.01251, allocations: 113 kB / 0.6293 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.283e-05/0.01256, allocations: 180.2 kB / 0.6294 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.01261, allocations: 180.2 kB / 0.6296 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.297e-05/0.01267, allocations: 180.3 kB / 0.6298 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.379e-05/0.01272, allocations: 184.4 kB / 0.63 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.01285, allocations: 323.6 kB / 0.6303 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.01291, allocations: 120.8 kB / 0.6304 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.01299, allocations: 180.2 kB / 0.6306 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.01311, allocations: 112.9 kB / 0.6307 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.01317, allocations: 180.2 kB / 0.6308 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.01321, allocations: 108.9 kB / 0.6309 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001987/0.0134, allocations: 221.2 kB / 0.6312 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.01e-07/0.0134, allocations: 0 / 0.6312 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003942/0.0138, allocations: 63.94 kB / 0.6312 GB, free: 0.5469 MB / 0.5886 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.0003539/0.01415, allocations: 274.3 kB / 0.6315 GB, free: 272 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.01433, allocations: 83.89 kB / 0.6316 GB, free: 188 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01433, allocations: 0 / 0.6316 GB, free: 188 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.01433, allocations: 0 / 0.6316 GB, free: 188 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.01474, allocations: 464 kB / 0.632 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.01529, allocations: 411.8 kB / 0.6324 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.01541, allocations: 131.3 kB / 0.6325 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.01543, allocations: 8.5 kB / 0.6325 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.01543, allocations: 0 / 0.6325 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.00347/0.0189, allocations: 2.435 MB / 0.6349 GB, free: 12.7 MB / 0.6042 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.067033073864877] Failed to read output from testmodel.py, exit status != 0: 0.025835183449089527 0.033015148 0.023195067 Calling exit ...