Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009321/0.0009321, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001575/0.001575, allocations: 169 kB / 23.27 MB, free: 1.223 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.9714/0.9714, allocations: 177.2 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001616/0.001616, allocations: 242.4 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7179/0.7179, allocations: 138.4 MB / 455.5 MB, free: 1.43 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 0.5556 GB, free: 300 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.558e-06/1.115e-05, allocations: 5.266 kB / 0.5556 GB, free: 296 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001578/0.00159, allocations: 1.45 MB / 0.557 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.003031, allocations: 1.904 MB / 0.5589 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.003055, allocations: 0 / 0.5589 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000697/0.003752, allocations: 373.7 kB / 0.5592 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.376e-05/0.003786, allocations: 23.78 kB / 0.5592 GB, free: 12.52 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.934e-06/0.003788, allocations: 0 / 0.5592 GB, free: 12.52 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.003934, allocations: 131.1 kB / 0.5594 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.953e-05/0.003964, allocations: 5.688 kB / 0.5594 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.363e-05/0.004037, allocations: 67.8 kB / 0.5594 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.004108, allocations: 47.89 kB / 0.5595 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.004118, allocations: 0 / 0.5595 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.004374, allocations: 179.8 kB / 0.5597 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.004407, allocations: 31.91 kB / 0.5597 GB, free: 12.06 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.004449, allocations: 47.84 kB / 0.5597 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.004714, allocations: 290.8 kB / 0.56 GB, free: 11.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-06/0.004715, allocations: 0 / 0.56 GB, free: 11.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004716, allocations: 0 / 0.56 GB, free: 11.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.434e-06/0.004718, allocations: 0 / 0.56 GB, free: 11.73 MB / 490.7 MB 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.0004002/0.005118, allocations: 0.5229 MB / 0.5605 GB, free: 11.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.005147, allocations: 12.75 kB / 0.5605 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.005235, allocations: 147.9 kB / 0.5607 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.005344, allocations: 267.2 kB / 0.5609 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/0.005396, allocations: 242.8 kB / 0.5612 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.005448, allocations: 242.8 kB / 0.5614 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.628e-05/0.005494, allocations: 149.5 kB / 0.5615 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.00552, allocations: 123.4 kB / 0.5616 GB, free: 9.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.00557, allocations: 246.5 kB / 0.5619 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/0.005619, allocations: 238.4 kB / 0.5621 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.05e-05/0.005669, allocations: 242.3 kB / 0.5623 GB, free: 9.266 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.005894, allocations: 0.6114 MB / 0.5629 GB, free: 8.629 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.055e-05/0.005975, allocations: 265.4 kB / 0.5632 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.951e-05/0.006004, allocations: 130.9 kB / 0.5633 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.006031, allocations: 119.2 kB / 0.5634 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.006071, allocations: 156.5 kB / 0.5636 GB, free: 7.941 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.006072, allocations: 0 / 0.5636 GB, free: 7.941 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.432e-05/0.006156, allocations: 45.61 kB / 0.5636 GB, free: 7.891 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.006198, allocations: 174.6 kB / 0.5638 GB, free: 7.707 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.006386, allocations: 371.9 kB / 0.5641 GB, free: 7.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.006394, allocations: 25.7 kB / 0.5642 GB, free: 7.289 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.006455, allocations: 175.2 kB / 0.5643 GB, free: 7.113 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.006457, allocations: 0 / 0.5643 GB, free: 7.113 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.006516, allocations: 87.3 kB / 0.5644 GB, free: 7.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.006636, allocations: 0.5196 MB / 0.5649 GB, free: 6.488 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.00666, allocations: 16 kB / 0.5649 GB, free: 6.473 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.006724, allocations: 109.7 kB / 0.565 GB, free: 6.336 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.006827, allocations: 149.7 kB / 0.5652 GB, free: 6.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.00683, allocations: 4 kB / 0.5652 GB, free: 6.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002141/0.007044, allocations: 169.3 kB / 0.5654 GB, free: 5.984 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.647e-06/0.007053, allocations: 7.281 kB / 0.5654 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.007059, allocations: 4 kB / 0.5654 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.007066, allocations: 0 / 0.5654 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.858e-06/0.00707, allocations: 8.219 kB / 0.5654 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.007074, allocations: 8 kB / 0.5654 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.007136, allocations: 27.73 kB / 0.5654 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.007142, allocations: 7.984 kB / 0.5654 GB, free: 5.926 MB / 490.7 MB 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 9.813e-05/0.00724, allocations: 291.6 kB / 0.5657 GB, free: 5.629 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.00729, allocations: 164.7 kB / 0.5658 GB, free: 5.461 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.007332, allocations: 157.7 kB / 0.566 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.418e-05/0.007386, allocations: 276 kB / 0.5663 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-05/0.007436, allocations: 264.1 kB / 0.5665 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.813e-05/0.007494, allocations: 280 kB / 0.5668 GB, free: 4.477 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.00767, allocations: 0.5044 MB / 0.5673 GB, free: 3.938 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.225e-05/0.007702, allocations: 152.8 kB / 0.5674 GB, free: 3.781 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.00773, allocations: 148.9 kB / 0.5676 GB, free: 3.629 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.438e-05/0.007785, allocations: 264.1 kB / 0.5678 GB, free: 3.363 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.00785, allocations: 272 kB / 0.5681 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.307e-05/0.007903, allocations: 268.1 kB / 0.5683 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.686e-05/0.007959, allocations: 268.2 kB / 0.5686 GB, free: 2.551 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.008083, allocations: 467.8 kB / 0.569 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.00813, allocations: 164.7 kB / 0.5692 GB, free: 1.898 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.008193, allocations: 264.1 kB / 0.5694 GB, free: 1.633 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.008266, allocations: 160.8 kB / 0.5696 GB, free: 1.469 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.008327, allocations: 268.1 kB / 0.5698 GB, free: 1.199 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.008359, allocations: 144.9 kB / 0.57 GB, free: 1.051 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.569e-05/0.008445, allocations: 213.1 kB / 0.5702 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008445, allocations: 0 / 0.5702 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000211/0.008656, allocations: 67.88 kB / 0.5703 GB, free: 0.7812 MB / 490.7 MB 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.0002063/0.008862, allocations: 326.2 kB / 0.5706 GB, free: 464 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.484e-05/0.008947, allocations: 63.59 kB / 0.5706 GB, free: 396 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.008948, allocations: 0 / 0.5706 GB, free: 396 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.008949, allocations: 0 / 0.5706 GB, free: 396 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.00923, allocations: 0.717 MB / 0.5713 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.009632, allocations: 414.5 kB / 0.5717 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.788e-05/0.00967, allocations: 79.75 kB / 0.5718 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.184e-06/0.009677, allocations: 8 kB / 0.5718 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.009716, allocations: 74.19 kB / 0.5719 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.009716, allocations: 0 / 0.5719 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.003813/0.01353, allocations: 2.806 MB / 0.5746 GB, free: 12.26 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5574661502614617]