Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001041/0.001041, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001175/0.001175, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9484/0.9484, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.001657/0.001657, allocations: 226.3 kB / 260.2 MB, free: 12.81 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.7785/0.7785, allocations: 138.4 MB / 455.2 MB, free: 1.551 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_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.279e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001728/0.001751, allocations: 1.469 MB / 0.5565 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.00385, allocations: 2.639 MB / 0.5591 GB, free: 12.42 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.003876, allocations: 4 kB / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009744/0.004851, allocations: 0.5514 MB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.004893, allocations: 27.84 kB / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.004896, allocations: 0 / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.005099, allocations: 166.8 kB / 0.5598 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.005137, allocations: 12.59 kB / 0.5598 GB, free: 11.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.56e-05/0.005213, allocations: 83.78 kB / 0.5599 GB, free: 11.58 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.58e-05/0.005309, allocations: 67.77 kB / 0.56 GB, free: 11.51 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.005321, allocations: 4 kB / 0.56 GB, free: 11.51 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005345/0.005856, allocations: 407.4 kB / 0.5604 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.005901, allocations: 43.72 kB / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.005958, allocations: 47.88 kB / 0.5605 GB, free: 11.02 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.006367, allocations: 438.2 kB / 0.5609 GB, free: 10.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006369, allocations: 0 / 0.5609 GB, free: 10.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00637, allocations: 0 / 0.5609 GB, free: 10.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.006374, allocations: 4 kB / 0.5609 GB, free: 10.59 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.0007569/0.007131, allocations: 0.5889 MB / 0.5615 GB, free: 9.957 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.007166, allocations: 12.69 kB / 0.5615 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.007266, allocations: 147.9 kB / 0.5616 GB, free: 9.801 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.007419, allocations: 290.6 kB / 0.5619 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.00747, allocations: 238.8 kB / 0.5621 GB, free: 9.254 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.007523, allocations: 242.8 kB / 0.5624 GB, free: 9.016 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.463e-05/0.007577, allocations: 145.5 kB / 0.5625 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.007608, allocations: 131.4 kB / 0.5626 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.007655, allocations: 238.8 kB / 0.5628 GB, free: 8.504 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.776e-05/0.007703, allocations: 238.8 kB / 0.5631 GB, free: 8.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.00775, allocations: 246.2 kB / 0.5633 GB, free: 8.027 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.008028, allocations: 0.6928 MB / 0.564 GB, free: 7.301 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.096e-05/0.008099, allocations: 265.4 kB / 0.5642 GB, free: 7.027 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.00813, allocations: 130.9 kB / 0.5644 GB, free: 6.895 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.008159, allocations: 119.2 kB / 0.5645 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.008196, allocations: 152.6 kB / 0.5646 GB, free: 6.617 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.823e-06/0.008198, allocations: 7.922 kB / 0.5646 GB, free: 6.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001017/0.0083, allocations: 57.52 kB / 0.5647 GB, free: 6.547 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.008345, allocations: 182.6 kB / 0.5649 GB, free: 6.355 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.008634, allocations: 482.4 kB / 0.5653 GB, free: 5.871 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.008644, allocations: 25.7 kB / 0.5653 GB, free: 5.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.00872, allocations: 199.3 kB / 0.5655 GB, free: 5.641 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.008723, allocations: 0 / 0.5655 GB, free: 5.641 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.0088, allocations: 119.3 kB / 0.5656 GB, free: 5.516 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.008923, allocations: 0.5274 MB / 0.5662 GB, free: 4.977 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.008971, allocations: 48.62 kB / 0.5662 GB, free: 4.926 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.009059, allocations: 149.7 kB / 0.5664 GB, free: 4.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.009209, allocations: 221.5 kB / 0.5666 GB, free: 4.504 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.009211, allocations: 4 kB / 0.5666 GB, free: 4.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000314/0.009525, allocations: 273.1 kB / 0.5668 GB, free: 4.227 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.009536, allocations: 4 kB / 0.5668 GB, free: 4.223 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.009543, allocations: 4 kB / 0.5668 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.009558, allocations: 0 / 0.5668 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.819e-06/0.009562, allocations: 4 kB / 0.5668 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.009567, allocations: 0 / 0.5668 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.009645, allocations: 55.45 kB / 0.5669 GB, free: 4.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.009651, allocations: 4 kB / 0.5669 GB, free: 4.156 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.867e-05/0.00975, allocations: 287.9 kB / 0.5672 GB, free: 3.863 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.009802, allocations: 168.7 kB / 0.5673 GB, free: 3.691 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.009853, allocations: 162.8 kB / 0.5675 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-05/0.009903, allocations: 264.1 kB / 0.5677 GB, free: 3.254 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.044e-05/0.009954, allocations: 268.1 kB / 0.568 GB, free: 2.984 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-05/0.01001, allocations: 276 kB / 0.5683 GB, free: 2.707 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.01047, allocations: 0.5819 MB / 0.5688 GB, free: 2.082 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/0.0105, allocations: 148.8 kB / 0.569 GB, free: 1.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.01053, allocations: 148.9 kB / 0.5691 GB, free: 1.777 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.955e-05/0.01058, allocations: 268.1 kB / 0.5694 GB, free: 1.508 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.321e-05/0.01063, allocations: 272 kB / 0.5696 GB, free: 1.234 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-05/0.01068, allocations: 272.1 kB / 0.5699 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-05/0.01073, allocations: 272 kB / 0.5701 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.01085, allocations: 467.8 kB / 0.5706 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.0109, allocations: 168.8 kB / 0.5708 GB, free: 32 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.01098, allocations: 276.1 kB / 0.571 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.01105, allocations: 148.8 kB / 0.5712 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.01111, allocations: 268.1 kB / 0.5714 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.01114, allocations: 148.8 kB / 0.5716 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000138/0.01127, allocations: 267.1 kB / 0.5718 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01127, allocations: 3.938 kB / 0.5718 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002337/0.01151, allocations: 91.8 kB / 0.5719 GB, free: 14.83 MB / 0.4948 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.0002534/0.01176, allocations: 350.6 kB / 0.5722 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.01189, allocations: 108.9 kB / 0.5723 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01189, allocations: 0 / 0.5723 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.0119, allocations: 0 / 0.5723 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.0122, allocations: 0.7115 MB / 0.573 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.01274, allocations: 0.4915 MB / 0.5735 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.177e-05/0.01279, allocations: 95.28 kB / 0.5736 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.507e-06/0.0128, allocations: 4 kB / 0.5736 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.01282, allocations: 12.48 kB / 0.5736 GB, free: 13 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.01282, allocations: 0 / 0.5736 GB, free: 13 MB / 0.4948 GB Notification: Performance of Templates: time 0.00476/0.01758, allocations: 3.076 MB / 0.5766 GB, free: 9.957 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7837552591226995]