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.001317/0.001317, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.001411/0.001411, allocations: 170.4 kB / 22.46 MB, free: 5.359 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.433/1.433, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.002589/0.002589, allocations: 237.2 kB / 259.4 MB, free: 484 kB / 238.1 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 1.106/1.106, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.1 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.443e-06/1.443e-06, allocations: 0 / 0.6468 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.635e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002695/0.002721, allocations: 1.424 MB / 0.6481 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002609/0.005331, allocations: 1.762 MB / 0.6499 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.00537, allocations: 0 / 0.6499 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.006688, allocations: 357.8 kB / 0.6502 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.215e-05/0.00675, allocations: 23.78 kB / 0.6502 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.006755, allocations: 0 / 0.6502 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.006999, allocations: 135 kB / 0.6504 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.00705, allocations: 9.688 kB / 0.6504 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.007159, allocations: 55.88 kB / 0.6504 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.007295, allocations: 55.83 kB / 0.6505 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.007314, allocations: 4 kB / 0.6505 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.007799, allocations: 171.9 kB / 0.6506 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.6e-05/0.007855, allocations: 35.84 kB / 0.6507 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.196e-05/0.007937, allocations: 51.86 kB / 0.6507 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005553/0.008492, allocations: 298.8 kB / 0.651 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.008495, allocations: 3.938 kB / 0.651 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.81e-07/0.008496, allocations: 4 kB / 0.651 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.008501, allocations: 0 / 0.651 GB, free: 0.7031 MB / 0.5606 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.000731/0.009232, allocations: 413.3 kB / 0.6514 GB, free: 276 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.009271, allocations: 8.75 kB / 0.6514 GB, free: 268 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.00945, allocations: 108.1 kB / 0.6515 GB, free: 160 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2533/0.2627, allocations: 225.9 kB / 0.6517 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.2627, allocations: 153.7 kB / 0.6519 GB, free: 56.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.2628, allocations: 157 kB / 0.652 GB, free: 56.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.854e-05/0.2628, allocations: 104.4 kB / 0.6521 GB, free: 56.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.2629, allocations: 77.38 kB / 0.6522 GB, free: 56.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.2629, allocations: 154.3 kB / 0.6524 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.2629, allocations: 150.6 kB / 0.6525 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/0.2629, allocations: 151.9 kB / 0.6526 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.2632, allocations: 463.7 kB / 0.6531 GB, free: 55.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.378e-05/0.2633, allocations: 173.1 kB / 0.6533 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.2633, allocations: 82.52 kB / 0.6533 GB, free: 55.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.2633, allocations: 78.78 kB / 0.6534 GB, free: 55.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.2634, allocations: 107.8 kB / 0.6535 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 2.655e-06/0.2634, allocations: 0.9375 kB / 0.6535 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 0.0002126/0.2636, allocations: 52.33 kB / 0.6536 GB, free: 55.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.2636, allocations: 132.2 kB / 0.6537 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.2639, allocations: 324.2 kB / 0.654 GB, free: 55.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.2639, allocations: 26.58 kB / 0.654 GB, free: 54.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.264, allocations: 116.2 kB / 0.6541 GB, free: 54.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.264, allocations: 0 / 0.6541 GB, free: 54.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.264, allocations: 60.59 kB / 0.6542 GB, free: 54.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.804e-05/0.2641, allocations: 333.6 kB / 0.6545 GB, free: 54.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.2642, allocations: 64.77 kB / 0.6546 GB, free: 54.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.787e-05/0.2643, allocations: 123.1 kB / 0.6547 GB, free: 54.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.2645, allocations: 214.4 kB / 0.6549 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2645, allocations: 3.406 kB / 0.6549 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003569/0.2648, allocations: 226.7 kB / 0.6551 GB, free: 54.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2648, allocations: 14.44 kB / 0.6551 GB, free: 54.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2648, allocations: 3.531 kB / 0.6551 GB, free: 54.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2649, allocations: 0 / 0.6551 GB, free: 54.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-06/0.2649, allocations: 3.438 kB / 0.6551 GB, free: 54.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2649, allocations: 0 / 0.6551 GB, free: 54.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.265, allocations: 29.31 kB / 0.6552 GB, free: 54.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.265, allocations: 6.125 kB / 0.6552 GB, free: 54.4 MB / 0.5606 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.0001113/0.2651, allocations: 231.7 kB / 0.6554 GB, free: 54.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.2652, allocations: 127.2 kB / 0.6555 GB, free: 54.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.2652, allocations: 110.8 kB / 0.6556 GB, free: 53.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.2652, allocations: 187.3 kB / 0.6558 GB, free: 53.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.681e-05/0.2652, allocations: 178.3 kB / 0.656 GB, free: 53.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.2653, allocations: 183.4 kB / 0.6561 GB, free: 53.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.2654, allocations: 407 kB / 0.6565 GB, free: 53.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.2654, allocations: 103.4 kB / 0.6566 GB, free: 52.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.2654, allocations: 108.4 kB / 0.6567 GB, free: 52.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.473e-05/0.2655, allocations: 180 kB / 0.6569 GB, free: 52.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.2655, allocations: 182.1 kB / 0.6571 GB, free: 52.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.251e-05/0.2655, allocations: 180.2 kB / 0.6572 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.301e-05/0.2655, allocations: 184.1 kB / 0.6574 GB, free: 52.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.233e-05/0.2656, allocations: 327.2 kB / 0.6577 GB, free: 51.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.2656, allocations: 116.5 kB / 0.6578 GB, free: 51.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.2657, allocations: 188.2 kB / 0.658 GB, free: 51.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2658, allocations: 101 kB / 0.6581 GB, free: 51.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.2658, allocations: 188.8 kB / 0.6583 GB, free: 51.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2659, allocations: 102.5 kB / 0.6584 GB, free: 51.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001454/0.266, allocations: 215.2 kB / 0.6586 GB, free: 51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.266, allocations: 0 / 0.6586 GB, free: 51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003569/0.2664, allocations: 68.91 kB / 0.6587 GB, free: 51 MB / 0.5606 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.0003142/0.2667, allocations: 276.8 kB / 0.6589 GB, free: 50.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.2668, allocations: 85.03 kB / 0.659 GB, free: 50.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2668, allocations: 0 / 0.659 GB, free: 50.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.2668, allocations: 3.938 kB / 0.659 GB, free: 50.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.2671, allocations: 473.2 kB / 0.6595 GB, free: 50.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.2676, allocations: 380.3 kB / 0.6598 GB, free: 50.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.893e-05/0.2676, allocations: 128 kB / 0.66 GB, free: 50.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.396e-05/0.2676, allocations: 3.469 kB / 0.66 GB, free: 50.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.2677, allocations: 12.06 kB / 0.66 GB, free: 50.01 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2677, allocations: 0 / 0.66 GB, free: 50.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.005428/0.2731, allocations: 2.3 MB / 0.6622 GB, free: 49.76 MB / 0.5606 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.841473542153835] Failed to read output from testmodel.py, exit status != 0: 0.28111449629068375 0.290373156 0.279668798 Calling exit ...