Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001382/0.001382, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001467/0.001467, allocations: 159.7 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.419/1.419, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.194/1.194, allocations: 154.5 MB / 413.7 MB, free: 5.309 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.048e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.004957/0.004987, allocations: 1.395 MB / 0.6199 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004008/0.008995, allocations: 1.758 MB / 0.6216 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.009044, allocations: 4 kB / 0.6216 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.01092, allocations: 368.2 kB / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.34e-05/0.01101, allocations: 19.91 kB / 0.622 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.069e-06/0.01101, allocations: 0 / 0.622 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.01134, allocations: 135 kB / 0.6221 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.349e-05/0.0114, allocations: 5.688 kB / 0.6221 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.01155, allocations: 63.81 kB / 0.6221 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.01175, allocations: 55.83 kB / 0.6222 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.01178, allocations: 0 / 0.6222 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006841/0.01246, allocations: 171.8 kB / 0.6224 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.323e-05/0.01254, allocations: 39.83 kB / 0.6224 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.01267, allocations: 51.86 kB / 0.6225 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008101/0.01348, allocations: 298.8 kB / 0.6227 GB, free: 324 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01348, allocations: 0 / 0.6227 GB, free: 324 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01348, allocations: 0 / 0.6227 GB, free: 324 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.01349, allocations: 0 / 0.6227 GB, free: 324 kB / 0.5294 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.00118/0.01467, allocations: 425.1 kB / 0.6231 GB, free: 15.87 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.01472, allocations: 9.469 kB / 0.6231 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003001/0.01502, allocations: 104.1 kB / 0.6232 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.01537, allocations: 232.3 kB / 0.6235 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.01547, allocations: 162.9 kB / 0.6236 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.01557, allocations: 154.9 kB / 0.6238 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.685e-05/0.01567, allocations: 101.5 kB / 0.6239 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.952e-05/0.01572, allocations: 75.47 kB / 0.6239 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.01581, allocations: 158.7 kB / 0.6241 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-05/0.0159, allocations: 150.6 kB / 0.6242 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.01601, allocations: 162.5 kB / 0.6244 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.01657, allocations: 457.4 kB / 0.6248 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.01681, allocations: 169.1 kB / 0.625 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.005e-05/0.01687, allocations: 80.14 kB / 0.6251 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.727e-05/0.01694, allocations: 83.28 kB / 0.6251 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.869e-05/0.01703, allocations: 109.8 kB / 0.6253 GB, free: 13.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.01703, allocations: 0 / 0.6253 GB, free: 13.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0003104/0.01734, allocations: 57.48 kB / 0.6253 GB, free: 13.56 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.01745, allocations: 130.6 kB / 0.6254 GB, free: 13.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.01803, allocations: 321.7 kB / 0.6257 GB, free: 13.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.01807, allocations: 25.7 kB / 0.6258 GB, free: 13.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.01819, allocations: 112.6 kB / 0.6259 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-06/0.01819, allocations: 0 / 0.6259 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.01831, allocations: 61.69 kB / 0.6259 GB, free: 12.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002349/0.01855, allocations: 330.8 kB / 0.6262 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.01871, allocations: 71.95 kB / 0.6263 GB, free: 12.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.01893, allocations: 121.7 kB / 0.6264 GB, free: 12.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.01932, allocations: 209.9 kB / 0.6266 GB, free: 12.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01932, allocations: 0 / 0.6266 GB, free: 12.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007669/0.02009, allocations: 241.2 kB / 0.6269 GB, free: 11.87 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.02011, allocations: 8 kB / 0.6269 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.02012, allocations: 3.938 kB / 0.6269 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.02014, allocations: 4 kB / 0.6269 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.22e-06/0.02014, allocations: 3.938 kB / 0.6269 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.02015, allocations: 4 kB / 0.6269 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.02038, allocations: 27.89 kB / 0.6269 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.02039, allocations: 12 kB / 0.6269 GB, free: 11.8 MB / 0.545 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.0003224/0.02072, allocations: 226.1 kB / 0.6271 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.02085, allocations: 124.8 kB / 0.6273 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.02094, allocations: 117.6 kB / 0.6274 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001146/0.02105, allocations: 184.2 kB / 0.6275 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001104/0.02116, allocations: 180.2 kB / 0.6277 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001093/0.02127, allocations: 184.3 kB / 0.6279 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.02171, allocations: 400.8 kB / 0.6283 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.951e-05/0.02178, allocations: 105 kB / 0.6284 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.985e-05/0.02185, allocations: 112.9 kB / 0.6285 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.02196, allocations: 176.3 kB / 0.6286 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.02207, allocations: 176.5 kB / 0.6288 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001001/0.02217, allocations: 184.2 kB / 0.629 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001061/0.02228, allocations: 180.4 kB / 0.6292 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.02252, allocations: 323.6 kB / 0.6295 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.02264, allocations: 124.8 kB / 0.6296 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.02279, allocations: 180.2 kB / 0.6298 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.02302, allocations: 108.9 kB / 0.6299 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.02314, allocations: 188.1 kB / 0.63 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.0232, allocations: 109 kB / 0.6301 GB, free: 8.309 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003419/0.02354, allocations: 217.2 kB / 0.6304 GB, free: 8.102 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.02354, allocations: 0 / 0.6304 GB, free: 8.102 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006232/0.02417, allocations: 63.94 kB / 0.6304 GB, free: 8.039 MB / 0.545 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.0004805/0.02465, allocations: 274.3 kB / 0.6307 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.02491, allocations: 79.89 kB / 0.6308 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02491, allocations: 3.938 kB / 0.6308 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.02491, allocations: 0 / 0.6308 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/0.02557, allocations: 460.2 kB / 0.6312 GB, free: 7.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00075/0.02632, allocations: 393.9 kB / 0.6316 GB, free: 6.816 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.02651, allocations: 127.4 kB / 0.6317 GB, free: 6.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.02653, allocations: 7.984 kB / 0.6317 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.02655, allocations: 8.5 kB / 0.6317 GB, free: 6.652 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.02655, allocations: 0 / 0.6317 GB, free: 6.652 MB / 0.545 GB Notification: Performance of Templates: time 0.00918/0.03573, allocations: 2.291 MB / 0.6339 GB, free: 4.387 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.788437753915787] Failed to read output from testmodel.py, exit status != 0: 0.04834385961294174 0.070825203 0.052525529 Calling exit ...