Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.0006608/0.0006608, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008772/0.001538, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007914/0.0007914, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009126/0.001704, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9181/0.9181, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08805/1.006, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.897/1.897, allocations: 390.1 MB / 0.6194 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4904/2.387, allocations: 127.1 MB / 0.7435 GB, free: 4.539 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7448 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.522e-05, allocations: 4.281 kB / 0.7448 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002455/0.00247, allocations: 1.525 MB / 0.7463 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00308/0.00555, allocations: 2.67 MB / 0.7489 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.005574, allocations: 0.625 kB / 0.7489 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000939/0.006513, allocations: 0.5745 MB / 0.7494 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.326e-05/0.006546, allocations: 23.78 kB / 0.7495 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.287e-06/0.00655, allocations: 2.438 kB / 0.7495 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.006736, allocations: 174.8 kB / 0.7496 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.006783, allocations: 18.5 kB / 0.7496 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.006888, allocations: 91.77 kB / 0.7497 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.006984, allocations: 55.86 kB / 0.7498 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.006996, allocations: 3.938 kB / 0.7498 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005155/0.007512, allocations: 423.1 kB / 0.7502 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.007557, allocations: 36.64 kB / 0.7502 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.007603, allocations: 51.88 kB / 0.7503 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.007971, allocations: 410.8 kB / 0.7507 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.007981, allocations: 4.75 kB / 0.7507 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.52e-07/0.007982, allocations: 0 / 0.7507 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.007994, allocations: 2.312 kB / 0.7507 GB, free: 13.27 MB / 0.7292 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.0005763/0.00857, allocations: 0.5742 MB / 0.7512 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.008601, allocations: 12.03 kB / 0.7512 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.511e-05/0.008696, allocations: 96.19 kB / 0.7513 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.008838, allocations: 235.8 kB / 0.7516 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.008876, allocations: 157.6 kB / 0.7517 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.008917, allocations: 158.9 kB / 0.7519 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.584e-05/0.008963, allocations: 101.5 kB / 0.752 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.008983, allocations: 75.47 kB / 0.752 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.009018, allocations: 154.9 kB / 0.7522 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/0.009059, allocations: 162.9 kB / 0.7523 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.009094, allocations: 162.4 kB / 0.7525 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.009253, allocations: 383.8 kB / 0.7529 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.927e-05/0.009312, allocations: 169.2 kB / 0.753 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.009334, allocations: 80.14 kB / 0.7531 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.00935, allocations: 75.28 kB / 0.7532 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.009386, allocations: 117.8 kB / 0.7533 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.009386, allocations: 0 / 0.7533 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 0.0001038/0.00949, allocations: 41.67 kB / 0.7533 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.009531, allocations: 131.3 kB / 0.7534 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.009733, allocations: 343 kB / 0.7538 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.009742, allocations: 30.83 kB / 0.7538 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.009794, allocations: 132.5 kB / 0.7539 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.009796, allocations: 0 / 0.7539 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.009854, allocations: 86.08 kB / 0.754 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.009937, allocations: 347.2 kB / 0.7543 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-05/0.009991, allocations: 51.42 kB / 0.7544 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.01005, allocations: 98.66 kB / 0.7545 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.01018, allocations: 205.5 kB / 0.7547 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01019, allocations: 4.625 kB / 0.7547 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002685/0.01045, allocations: 250 kB / 0.7549 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.01047, allocations: 8 kB / 0.7549 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.01047, allocations: 1.438 kB / 0.7549 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.01048, allocations: 4 kB / 0.7549 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.985e-06/0.01049, allocations: 3.938 kB / 0.7549 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.01049, allocations: 4 kB / 0.7549 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/0.01057, allocations: 44.2 kB / 0.755 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.01058, allocations: 4 kB / 0.755 GB, free: 8.617 MB / 0.7292 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 8.948e-05/0.01067, allocations: 199.7 kB / 0.7552 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.01071, allocations: 118.6 kB / 0.7553 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.01075, allocations: 106.9 kB / 0.7554 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/0.01079, allocations: 184.2 kB / 0.7556 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.184e-05/0.01083, allocations: 188.2 kB / 0.7558 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.819e-05/0.01087, allocations: 176.3 kB / 0.7559 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.01102, allocations: 366.1 kB / 0.7563 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/0.01104, allocations: 105 kB / 0.7564 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.01106, allocations: 102.1 kB / 0.7565 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.01111, allocations: 132.7 kB / 0.7566 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.919e-05/0.01115, allocations: 176.3 kB / 0.7568 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.01119, allocations: 186 kB / 0.7569 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.115e-05/0.01123, allocations: 188.3 kB / 0.7571 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.884e-05/0.01127, allocations: 180.2 kB / 0.7573 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.215e-05/0.01136, allocations: 311.7 kB / 0.7576 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.01142, allocations: 184.2 kB / 0.7578 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.01149, allocations: 102.5 kB / 0.7579 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.01153, allocations: 180.2 kB / 0.758 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.01156, allocations: 113 kB / 0.7581 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.904e-05/0.01164, allocations: 121.6 kB / 0.7583 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01164, allocations: 0 / 0.7583 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001939/0.01183, allocations: 87.92 kB / 0.7583 GB, free: 5.023 MB / 0.7292 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.0002517/0.01208, allocations: 306.6 kB / 0.7586 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.01218, allocations: 78 kB / 0.7587 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.01219, allocations: 4 kB / 0.7587 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-06/0.01219, allocations: 0 / 0.7587 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.01241, allocations: 496 kB / 0.7592 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.01421, allocations: 452.1 kB / 0.7596 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.813e-05/0.01426, allocations: 87.3 kB / 0.7597 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.798e-06/0.01427, allocations: 5.031 kB / 0.7597 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.0143, allocations: 55.36 kB / 0.7598 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/0.0143, allocations: 4.938 kB / 0.7598 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of Templates: time 0.005488/0.01979, allocations: 4.336 MB / 0.764 GB, free: 15.3 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.810346895828843]